]> git.ipfire.org Git - thirdparty/iptables.git/commit
xtables: Introduce xtables_clear_iptables_command_state()
authorPhil Sutter <phil@nwl.cc>
Fri, 25 Nov 2022 20:42:20 +0000 (21:42 +0100)
committerPhil Sutter <phil@nwl.cc>
Fri, 2 Dec 2022 00:44:17 +0000 (01:44 +0100)
commit365647ef056828bc3cb56efef12114951fcb730d
tree0db3ee2b2d7167d7de0ce24a7254e9c068c309bd
parentfb63f8b7337aa11a667537e6a3b399062ede2eb5
xtables: Introduce xtables_clear_iptables_command_state()

This is nft_clear_iptables_command_state() but in a location reachable
by legacy iptables, too.

Changes callers in non-family-specific code to use clear_cs callback
instead of directly calling it - ebtables still has a custom variant.

Signed-off-by: Phil Sutter <phil@nwl.cc>
iptables/nft-arp.c
iptables/nft-ipv4.c
iptables/nft-ipv6.c
iptables/nft-shared.c
iptables/nft-shared.h
iptables/xshared.c
iptables/xshared.h
iptables/xtables-translate.c
iptables/xtables.c