aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/utils/iptables/patches/050-optional-xml.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2015-05-06 00:59:41 +0000
committerFelix Fietkau <nbd@openwrt.org>2015-05-06 00:59:41 +0000
commitad6c82948fada48f9571d582c436f840ccb83fd7 (patch)
tree3505134e7e563796d25a9cd13cd06cebf03ce8b2 /package/network/utils/iptables/patches/050-optional-xml.patch
parentb045945a42732c4c7112cca6a87171bca2e3bdd5 (diff)
downloadmaster-187ad058-ad6c82948fada48f9571d582c436f840ccb83fd7.tar.gz
master-187ad058-ad6c82948fada48f9571d582c436f840ccb83fd7.tar.bz2
master-187ad058-ad6c82948fada48f9571d582c436f840ccb83fd7.zip
iptables: disable unused xml support to save some space
Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45617 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/network/utils/iptables/patches/050-optional-xml.patch')
-rw-r--r--package/network/utils/iptables/patches/050-optional-xml.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/package/network/utils/iptables/patches/050-optional-xml.patch b/package/network/utils/iptables/patches/050-optional-xml.patch
new file mode 100644
index 0000000000..11311ddb47
--- /dev/null
+++ b/package/network/utils/iptables/patches/050-optional-xml.patch
@@ -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},