summaryrefslogtreecommitdiffstats
path: root/iptables/xtables-eb-standalone.c
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2018-08-06 17:21:55 +0200
committerFlorian Westphal <fw@strlen.de>2018-08-06 18:17:39 +0200
commit3f123dcf556487e753b43d7e43ff7016013349dc (patch)
treeb60daded519b7da28b5b8f61477b878c8a12be6d /iptables/xtables-eb-standalone.c
parent295d5a809c67987db4d0961778d9800ba00926be (diff)
ebtables-restore: Use xtables_restore_parse()
This drops the dedicated input parser (which was broken in many ways anyway) and replaces it by the common one now that all required knobs are in place. Signed-off-by: Phil Sutter <phil@nwl.cc> Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'iptables/xtables-eb-standalone.c')
-rw-r--r--iptables/xtables-eb-standalone.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/iptables/xtables-eb-standalone.c b/iptables/xtables-eb-standalone.c
index 069c9aa1..84ce0b60 100644
--- a/iptables/xtables-eb-standalone.c
+++ b/iptables/xtables-eb-standalone.c
@@ -49,7 +49,7 @@ int xtables_eb_main(int argc, char *argv[])
nft_init_eb(&h, "ebtables");
- ret = do_commandeb(&h, argc, argv, &table);
+ ret = do_commandeb(&h, argc, argv, &table, false);
if (ret)
ret = nft_commit(&h);