]> git.ipfire.org Git - thirdparty/iptables.git/commit
nft-shared: Introduce init_cs family ops callback
authorPhil Sutter <phil@nwl.cc>
Mon, 27 Sep 2021 14:59:49 +0000 (16:59 +0200)
committerPhil Sutter <phil@nwl.cc>
Wed, 20 Oct 2021 09:32:54 +0000 (11:32 +0200)
commitcfdda18044d81ca2e8a4f9df8a518290e2e94a07
tree6ffd74661a974fbdbd06c658e7a7580f3376835b
parent65b150ae382a8b5d1fc7f2465b3ac590c1601ce1
nft-shared: Introduce init_cs family ops callback

Arptables sets a few defaults in struct iptables_command_state upon
initialization. Introduce a callback to do that.

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