Author: nbd
Date: 2015-05-06 02:59:41 +0200 (Wed, 06 May 2015)
New Revision: 45617

Added:
   trunk/package/network/utils/iptables/patches/050-optional-xml.patch
Log:
iptables: disable unused xml support to save some space

Signed-off-by: Felix Fietkau <[email protected]>

Added: trunk/package/network/utils/iptables/patches/050-optional-xml.patch
===================================================================
--- trunk/package/network/utils/iptables/patches/050-optional-xml.patch         
                (rev 0)
+++ trunk/package/network/utils/iptables/patches/050-optional-xml.patch 
2015-05-06 00:59:41 UTC (rev 45617)
@@ -0,0 +1,13 @@
+--- a/iptables/xtables-multi.c
++++ b/iptables/xtables-multi.c
+@@ -22,8 +22,10 @@ static const struct subcommand multi_sub
+       {"iptables-restore",    iptables_restore_main},
+       {"restore4",            iptables_restore_main},
+ #endif
++#ifdef ENABLE_XML
+       {"iptables-xml",        iptables_xml_main},
+       {"xml",                 iptables_xml_main},
++#endif
+ #ifdef ENABLE_IPV6
+       {"ip6tables",           ip6tables_main},
+       {"main6",               ip6tables_main},
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to