From 1f689613b6440795e298dd32253c7d5898269090 Mon Sep 17 00:00:00 2001
From: Felix Fietkau <nbd@openwrt.org>
Date: Wed, 6 May 2015 00:59:41 +0000
Subject: iptables: disable unused xml support to save some space

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 45617
---
 .../network/utils/iptables/patches/050-optional-xml.patch   | 13 +++++++++++++
 1 file changed, 13 insertions(+)
 create mode 100644 package/network/utils/iptables/patches/050-optional-xml.patch

(limited to 'package/network/utils')

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 0000000..11311dd
--- /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},
-- 
cgit v1.1