Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bpf: nat: fix build error in snat_v6_prepare_state()
Without ENABLE_MASQUERADE_IPV6, the `remote_ep` variable isn't used. Fix up the build. In file included from bpf_lxc.c:56: ./cilium/bpf/lib/nat.h:1694:31: error: variable 'remote_ep' set but not used [-Werror,-Wunused-but-set-variable] struct remote_endpoint_info *remote_ep; ^ 1 error generated. Signed-off-by: Julian Wiedmann <jwi@isovalent.com>
- Loading branch information