summaryrefslogtreecommitdiffstats
path: root/iptables/nft.h
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2018-08-02 17:05:19 +0200
committerFlorian Westphal <fw@strlen.de>2018-08-04 14:44:43 +0200
commita192f03520ebd0a2c0ecfca8abd1e00967f3b351 (patch)
tree9e9c96d7042177d2da1c7bd65df83c56da81d718 /iptables/nft.h
parenta2ed880a19d0861342b3515721804b18d698bf44 (diff)
ebtables: Fix for wrong program name in error messages
Since nft_init_eb() is shared among standalone ebtables and ebtables-restore, allow for callers to pass the program name. Signed-off-by: Phil Sutter <phil@nwl.cc> Signed-off-by: Florian Westphal <fw@strlen.de>
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 a479cf07..6f58de25 100644
--- a/iptables/nft.h
+++ b/iptables/nft.h
@@ -145,7 +145,7 @@ int do_commandx(struct nft_handle *h, int argc, char *argv[], char **table, bool
/* For xtables-arptables.c */
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);
+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);