aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/utils
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2014-07-02 11:39:24 +0000
committerJo-Philipp Wich <jow@openwrt.org>2014-07-02 11:39:24 +0000
commit4af52fee4e4d801321ee4115bf29e94249e605f2 (patch)
tree7bd75daf8767b543e8dc9e5bed4a55a50a6dc649 /package/network/utils
parent942c91b60be51d684db3098b08fc95069da58e37 (diff)
downloadmaster-187ad058-4af52fee4e4d801321ee4115bf29e94249e605f2.tar.gz
master-187ad058-4af52fee4e4d801321ee4115bf29e94249e605f2.tar.bz2
master-187ad058-4af52fee4e4d801321ee4115bf29e94249e605f2.zip
iptables: pass --disable-ipv6 is CONFIG_IPV6 is unset
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41458 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/network/utils')
-rw-r--r--package/network/utils/iptables/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/package/network/utils/iptables/Makefile b/package/network/utils/iptables/Makefile
index f6db428bcb..8266f14a3e 100644
--- a/package/network/utils/iptables/Makefile
+++ b/package/network/utils/iptables/Makefile
@@ -369,7 +369,8 @@ CONFIGURE_ARGS += \
--enable-devel \
--with-kernel="$(LINUX_DIR)/user_headers" \
--with-xtlibdir=/usr/lib/iptables \
- --enable-static
+ --enable-static \
+ $(if $(CONFIG_IPV6),,--disable-ipv6)
MAKE_FLAGS := \
$(TARGET_CONFIGURE_OPTS) \