summaryrefslogtreecommitdiffstats
path: root/iptables/nft.h
diff options
context:
space:
mode:
authorTomasz Bursztyka <tomasz.bursztyka@linux.intel.com>2014-02-11 12:46:44 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2014-02-11 12:09:08 +0100
commit7851975e5055381d30f0788d90671485695928e1 (patch)
treee71790623ca459b44b9c44e1c01eb1b5e99c5999 /iptables/nft.h
parent4cffe00557b40dfe8c3236746797b24c4074c95e (diff)
xtables: Add backward compatibility with -w option
Just to keep aligned with iptables legacy tool. Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'iptables/nft.h')
-rw-r--r--iptables/nft.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/iptables/nft.h b/iptables/nft.h
index 26b60b99..22af66e2 100644
--- a/iptables/nft.h
+++ b/iptables/nft.h
@@ -135,7 +135,7 @@ int nft_compatible_revision(const char *name, uint8_t rev, int opt);
const char *nft_strerror(int err);
/* For xtables.c */
-int do_commandx(struct nft_handle *h, int argc, char *argv[], char **table);
+int do_commandx(struct nft_handle *h, int argc, char *argv[], char **table, bool restore);
/* For xtables-arptables.c */
int do_commandarp(struct nft_handle *h, int argc, char *argv[], char **table);