]> git.feebdaed.xyz Git - 0xmirror/iptables.git/commit
xshared: Support for ebtables' --change-counters command
authorPhil Sutter <phil@nwl.cc>
Fri, 24 Nov 2023 17:13:00 +0000 (18:13 +0100)
committerPhil Sutter <phil@nwl.cc>
Tue, 5 Dec 2023 15:35:37 +0000 (16:35 +0100)
commit9c777205d6464b8af64d7ab2cdfbf2c85e22b3ed
tree885d95832283b3342ddfb6fc7d3444b95e33352d
parentd5605f44cdc0354ccbbc3cc46346823865c8a5fe
xshared: Support for ebtables' --change-counters command

This is tricky because the short-option clashes with the --check
command. OTOH, ebtables supports --check as well (though without
short-option), so making do_parse() detect ebtables based on struct
xtables_args::family is probably still the least messy option.

Signed-off-by: Phil Sutter <phil@nwl.cc>
iptables/nft-cmd.h
iptables/xshared.c
iptables/xshared.h