mirror of
https://github.com/daeuniverse/dae.git
synced 2024-12-22 21:34:58 +07:00
fix(bpf): revert using bpf_redirect_peer (#480)
This commit is contained in:
parent
7aad3a9474
commit
36fa05b105
@ -1062,7 +1062,7 @@ new_connection:
|
||||
// Assign to control plane.
|
||||
control_plane:
|
||||
prep_redirect_to_control_plane(skb, link_h_len, &tuples, l4proto, ðh, 0, &tcph);
|
||||
return bpf_redirect_peer(PARAM.dae0_ifindex, 0);
|
||||
return bpf_redirect(PARAM.dae0_ifindex, 0);
|
||||
|
||||
direct:
|
||||
return TC_ACT_OK;
|
||||
|
Loading…
Reference in New Issue
Block a user