diff options
author | Phil Sutter <phil@nwl.cc> | 2018-08-06 17:21:54 +0200 |
---|---|---|
committer | Florian Westphal <fw@strlen.de> | 2018-08-06 18:17:39 +0200 |
commit | 295d5a809c67987db4d0961778d9800ba00926be (patch) | |
tree | 18dec7f56cc2b6fb550ac7f1a047365c171089ca /extensions/libebt_log.txlate | |
parent | 1679b2cb2cae2bb3ce8eff5444ba858a51310d4c (diff) |
xtables-restore: Make COMMIT support configurable
Legacy ebtables-restore does not support COMMIT directive, so allow for
callers of xtables_restore_parse() to toggle whether it is required or
not.
In iptables, omitting COMMIT may be used for syntax checking, so we must
not add an implicit commit at EOF. Although ebtables/arptables legacy
does not support COMMIT lines at all, this patch allows them in nft
variants. If omitted, an implicit commit happens for them at EOF.
Signed-off-by: Phil Sutter <phil@nwl.cc>
Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'extensions/libebt_log.txlate')
0 files changed, 0 insertions, 0 deletions