From 4598ed7d3e22d74ffaad7948ddc3455ac9aa7576 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20=C5=BBenczykowski?= Date: Mon, 6 Jun 2011 18:27:09 -0700 Subject: xtables-multi: fix absence of xml translator in IPv6-only builds Commit v1.4.11-4-gde791ff did not actually build the iptables-xml code into the xtables-multi binary. Signed-off-by: Maciej Zenczykowski Signed-off-by: Jan Engelhardt --- xtables-multi.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'xtables-multi.c') diff --git a/xtables-multi.c b/xtables-multi.c index f8d56ce9..8014d5fb 100644 --- a/xtables-multi.c +++ b/xtables-multi.c @@ -3,6 +3,8 @@ #include #include "xshared.h" +#include "xtables-multi.h" + #ifdef ENABLE_IPV4 #include "iptables-multi.h" #endif @@ -19,9 +21,9 @@ static const struct subcommand multi_subcommands[] = { {"save4", iptables_save_main}, {"iptables-restore", iptables_restore_main}, {"restore4", iptables_restore_main}, - {"iptables-xml", iptables_xml_main}, - {"xml4", iptables_xml_main}, #endif + {"iptables-xml", iptables_xml_main}, + {"xml", iptables_xml_main}, #ifdef ENABLE_IPV6 {"ip6tables", ip6tables_main}, {"main6", ip6tables_main}, -- cgit v1.2.3