aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/utils/iptables/patches/103-optional-xml.patch
blob: 2396037fdd4a96c9f5605cf2a1817b6a4e7ac918 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- a/iptables/xtables-legacy-multi.c
+++ b/iptables/xtables-legacy-multi.c
@@ -31,8 +31,10 @@ static const struct subcommand multi_sub
 
 
 #endif
+#ifdef ENABLE_XML
 	{"iptables-xml",        iptables_xml_main},
 	{"xml",                 iptables_xml_main},
+#endif
 #ifdef ENABLE_IPV6
 	{"ip6tables",           ip6tables_main},
 	{"main6",               ip6tables_main},