]> git.ipfire.org Git - thirdparty/iptables.git/commit
xtables-save: Make COMMIT line optional
authorPhil Sutter <phil@nwl.cc>
Mon, 22 Jul 2019 10:16:25 +0000 (12:16 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Tue, 23 Jul 2019 19:14:40 +0000 (21:14 +0200)
commitb5dfbb3ca2a4acf5238bb3e0b2cc20b2a213041e
treeb093f01b7f0ce2fb4690136abca3e19cb2cc16bd
parentc013d5fe3d0af3cac70874d79adf1c87dad96125
xtables-save: Make COMMIT line optional

Explicit commits are not used by either arp- nor ebtables-save. In order
to share code between all the different *-save tools without inducing
changes to ruleset dump contents, allow for callers of do_output() to
turn COMMIT lines on or off.

Signed-off-by: Phil Sutter <phil@nwl.cc>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
iptables/xtables-save.c