diff options
author | Phil Sutter <phil@nwl.cc> | 2018-07-19 18:32:09 +0200 |
---|---|---|
committer | Florian Westphal <fw@strlen.de> | 2018-07-19 23:13:02 +0200 |
commit | 922508e9156327ccb8e35243781cf85f5787ee40 (patch) | |
tree | ba9f497f248cb16216ae69972b694f162d602424 /iptables/Makefile.am | |
parent | 25ef90814a991e80384d4369565c6decadfcd409 (diff) |
xtables: implement ebtables-{save,restore}
The code for ebtables-restore was derived from legacy code,
ebtables-save is actually a new implementation using the existing
infrastructure and trying to adhere to legacy perl script output
formatting as much as possible.
This introduces a new format flag (FMT_EBT_SAVE) to allow
nft_bridge_save_rule() to distinguish between ruleset listing (i.e.,
ebtables -L) and saving via ebtables-save - the two differ in how
counters are being formatted. Odd, but that's how it is.
Signed-off-by: Phil Sutter <phil@nwl.cc>
Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'iptables/Makefile.am')
-rw-r--r-- | iptables/Makefile.am | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/iptables/Makefile.am b/iptables/Makefile.am index 800dd13a..a950d9fd 100644 --- a/iptables/Makefile.am +++ b/iptables/Makefile.am @@ -82,6 +82,7 @@ x_sbin_links = iptables-nft iptables-nft-restore iptables-nft-save \ iptables-restore-translate ip6tables-restore-translate \ arptables-nft arptables \ ebtables-nft ebtables \ + ebtables-nft-restore ebtables-nft-save \ xtables-monitor endif |