From b470b8e8d8b66834d34f879f5fd316c49dd98303 Mon Sep 17 00:00:00 2001 From: Florian Westphal Date: Wed, 4 Jul 2018 12:21:40 +0200 Subject: xtables-legacy: fix argv0 name for ip6tables-legacy xtables-legacy currently cannot be invoked as ip6tables-legacy. Signed-off-by: Florian Westphal --- iptables/xtables-legacy-multi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3