]> git.ipfire.org Git - thirdparty/iptables.git/commit
xtables: pass format to nft_rule_save()
authorPhil Sutter <phil@nwl.cc>
Thu, 19 Jul 2018 16:32:06 +0000 (18:32 +0200)
committerFlorian Westphal <fw@strlen.de>
Thu, 19 Jul 2018 21:11:32 +0000 (23:11 +0200)
commit6f60f22c488675ef9c9e02ca4abc9dc0b210f6a6
treede0ce81254326509971c1bc27456d754ecca53e2
parentf3b772c10b782196060fe39ca6da142ba75e43d9
xtables: pass format to nft_rule_save()

Preparing ebtables-save implementation, allow for callers to pass format
bits to nft_rule_save() instead of just the 'counters' boolean.

Signed-off-by: Phil Sutter <phil@nwl.cc>
Signed-off-by: Florian Westphal <fw@strlen.de>
iptables/nft.c
iptables/nft.h
iptables/xtables-save.c