summaryrefslogtreecommitdiffstats
path: root/extensions/libip6t_dst.c
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2024-07-27 09:12:34 +0200
committerPhil Sutter <phil@nwl.cc>2024-07-31 23:13:55 +0200
commit25d4d341af5972b5560b31fa5dea72de057cb430 (patch)
tree69bdb4b62f825c4f0bd0d6503ca67f461c7f4fd2 /extensions/libip6t_dst.c
parent0b2e2f38d6c5c373373ab35157b406280b86b503 (diff)
arptables: Fix conditional opcode/proto-type printing
The checks were wrong: nft_arp_init_cs() initializes masks to 65535, not 0. This went on unnoticed because nft_arp_add() does it right and init_cs callback was not used in e.g. nft_arp_print_rule(). The last patch adding init_cs() calls in potentially required spots exposed this though. Fixes: 84909d171585d ("xtables: bootstrap ARP compatibility layer for nftables") Signed-off-by: Phil Sutter <phil@nwl.cc>
Diffstat (limited to 'extensions/libip6t_dst.c')
0 files changed, 0 insertions, 0 deletions