immortalwrt/package/network/utils/iptables/patches/103-optional-xml.patch

14 lines
373 B
Diff
Raw Normal View History

--- a/iptables/xtables-legacy-multi.c
+++ b/iptables/xtables-legacy-multi.c
2019-08-20 20:21:47 +08:00
@@ -32,8 +32,10 @@ static const struct subcommand multi_sub
2017-09-06 19:19:45 +08:00
#endif
+#ifdef ENABLE_XML
{"iptables-xml", iptables_xml_main},
{"xml", iptables_xml_main},
+#endif
#ifdef ENABLE_IPV6
{"ip6tables", ip6tables_main},
{"main6", ip6tables_main},