From 3f123dcf556487e753b43d7e43ff7016013349dc Mon Sep 17 00:00:00 2001 From: Phil Sutter Date: Mon, 6 Aug 2018 17:21:55 +0200 Subject: 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 Signed-off-by: Florian Westphal --- iptables/nft.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'iptables/nft.h') diff --git a/iptables/nft.h b/iptables/nft.h index 942cb6a0..d16ded09 100644 --- a/iptables/nft.h +++ b/iptables/nft.h @@ -149,7 +149,7 @@ int do_commandarp(struct nft_handle *h, int argc, char *argv[], char **table); /* For xtables-eb.c */ int nft_init_eb(struct nft_handle *h, const char *pname); int ebt_get_current_chain(const char *chain); -int do_commandeb(struct nft_handle *h, int argc, char *argv[], char **table); +int do_commandeb(struct nft_handle *h, int argc, char *argv[], char **table, bool restore); /* * Parse config for tables and chain helper functions -- cgit v1.2.3