Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bpf: nat: fix build error in snat_v6_prepare_state() #26510

Merged
merged 1 commit into from
Jun 27, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion bpf/lib/nat.h
Original file line number Diff line number Diff line change
Expand Up @@ -1691,7 +1691,7 @@ snat_v6_prepare_state(struct __ctx_buff *ctx, struct ipv6_nat_target *target)
{
union v6addr masq_addr __maybe_unused, router_ip __maybe_unused;
const union v6addr dr_addr __maybe_unused = IPV6_DIRECT_ROUTING;
struct remote_endpoint_info *remote_ep;
struct remote_endpoint_info *remote_ep __maybe_unused;
struct endpoint_info *local_ep;
bool is_reply = false;
void *data, *data_end;
Expand Down