summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2018-07-04 12:21:40 +0200
committerFlorian Westphal <fw@strlen.de>2018-07-04 12:35:16 +0200
commitb470b8e8d8b66834d34f879f5fd316c49dd98303 (patch)
tree7137f2b6d9813149d79da12c096da248ac4f98a9
parent2028e54ab443cff20bd5f6cbaba9535275fbd0bc (diff)
xtables-legacy: fix argv0 name for ip6tables-legacy
xtables-legacy currently cannot be invoked as ip6tables-legacy. Signed-off-by: Florian Westphal <fw@strlen.de>
-rw-r--r--iptables/xtables-legacy-multi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/iptables/xtables-legacy-multi.c b/iptables/xtables-legacy-multi.c
index 71ec7f5e..e68814dd 100644
--- a/iptables/xtables-legacy-multi.c
+++ b/iptables/xtables-legacy-multi.c
@@ -40,7 +40,7 @@ static const struct subcommand multi_subcommands[] = {
{"save6", ip6tables_save_main},
{"ip6tables-restore", ip6tables_restore_main},
{"restore6", ip6tables_restore_main},
- {"ip6tables", ip6tables_main},
+ {"ip6tables-legacy", ip6tables_main},
{"ip6tables-legacy-save",ip6tables_save_main},
{"ip6tables-legacy-restore",ip6tables_restore_main},
#endif