[PATCH 5/5] add xtables-multi{32,64} recognition

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Maciej Åenczykowski <maze@xxxxxxxxxx>

Signed-off-by: Maciej Zenczykowski <maze@xxxxxxxxxx>
---
 xtables-multi.c |   14 ++++++++++++++
 1 files changed, 14 insertions(+), 0 deletions(-)

diff --git a/xtables-multi.c b/xtables-multi.c
index f8d56ce..7f98286 100644
--- a/xtables-multi.c
+++ b/xtables-multi.c
@@ -14,20 +14,34 @@
 static const struct subcommand multi_subcommands[] = {
 #ifdef ENABLE_IPV4
 	{"iptables",            iptables_main},
+	{"iptables32",          iptables_main},
+	{"iptables64",          iptables_main},
 	{"main4",               iptables_main},
 	{"iptables-save",       iptables_save_main},
+	{"iptables-save32",     iptables_save_main},
+	{"iptables-save64",     iptables_save_main},
 	{"save4",               iptables_save_main},
 	{"iptables-restore",    iptables_restore_main},
+	{"iptables-restore32",  iptables_restore_main},
+	{"iptables-restore64",  iptables_restore_main},
 	{"restore4",            iptables_restore_main},
 	{"iptables-xml",        iptables_xml_main},
+	{"iptables-xml32",      iptables_xml_main},
+	{"iptables-xml64",      iptables_xml_main},
 	{"xml4",                iptables_xml_main},
 #endif
 #ifdef ENABLE_IPV6
 	{"ip6tables",           ip6tables_main},
+	{"ip6tables32",         ip6tables_main},
+	{"ip6tables64",         ip6tables_main},
 	{"main6",               ip6tables_main},
 	{"ip6tables-save",      ip6tables_save_main},
+	{"ip6tables-save32",    ip6tables_save_main},
+	{"ip6tables-save64",    ip6tables_save_main},
 	{"save6",               ip6tables_save_main},
 	{"ip6tables-restore",   ip6tables_restore_main},
+	{"ip6tables-restore32", ip6tables_restore_main},
+	{"ip6tables-restore64", ip6tables_restore_main},
 	{"restore6",            ip6tables_restore_main},
 #endif
 	{NULL},
-- 
1.7.3.1

--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux