diff options
author | Phil Sutter <phil@nwl.cc> | 2022-10-07 22:16:43 +0200 |
---|---|---|
committer | Phil Sutter <phil@nwl.cc> | 2022-10-07 23:03:55 +0200 |
commit | 610ed9c8c733e3b40787e975cdcb957981b4a6c5 (patch) | |
tree | fd2670e145602b7e4ee62aee83dede80e7eaa03f /iptables/nft-ipv6.c | |
parent | 97bf4e68fc0794adba3243fd96f40f4568e7216f (diff) |
nft: Fix compile with -DDEBUG
Conversion from 'ctx' to 'reg' missed some of the DEBUGP() calls.
Fixes: f315af1cf8871 ("nft: track each register individually")
Signed-off-by: Phil Sutter <phil@nwl.cc>
Diffstat (limited to 'iptables/nft-ipv6.c')
-rw-r--r-- | iptables/nft-ipv6.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/iptables/nft-ipv6.c b/iptables/nft-ipv6.c index 05d65fbb..7ca9d842 100644 --- a/iptables/nft-ipv6.c +++ b/iptables/nft-ipv6.c @@ -173,7 +173,7 @@ static void nft_ipv6_parse_payload(struct nft_xt_ctx *ctx, nft_parse_hl(ctx, e, cs); break; default: - DEBUGP("unknown payload offset %d\n", ctx->payload.offset); + DEBUGP("unknown payload offset %d\n", reg->payload.offset); break; } } |