]> git.ipfire.org Git - thirdparty/iptables.git/commitdiff
xtables-legacy: fix argv0 name for ip6tables-legacy
authorFlorian Westphal <fw@strlen.de>
Wed, 4 Jul 2018 10:21:40 +0000 (12:21 +0200)
committerFlorian Westphal <fw@strlen.de>
Wed, 4 Jul 2018 10:35:16 +0000 (12:35 +0200)
xtables-legacy currently cannot be invoked as ip6tables-legacy.

Signed-off-by: Florian Westphal <fw@strlen.de>
iptables/xtables-legacy-multi.c

index 71ec7f5ead852bd1b76326b2f031c7b42d447569..e68814dd082ef780e800a3a524ad38e65ae4476e 100644 (file)
@@ -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