Author: jow
Date: 2014-07-02 13:39:24 +0200 (Wed, 02 Jul 2014)
New Revision: 41458

Modified:
   trunk/package/network/utils/iptables/Makefile
Log:
iptables: pass --disable-ipv6 is CONFIG_IPV6 is unset

Signed-off-by: Jo-Philipp Wich <[email protected]>

Modified: trunk/package/network/utils/iptables/Makefile
===================================================================
--- trunk/package/network/utils/iptables/Makefile       2014-07-02 08:19:43 UTC 
(rev 41457)
+++ trunk/package/network/utils/iptables/Makefile       2014-07-02 11:39:24 UTC 
(rev 41458)
@@ -369,7 +369,8 @@
        --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) \
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to