diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2014-07-02 11:39:24 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2014-07-02 11:39:24 +0000 |
commit | 1c891e0d4557e0f301ffb90b9056d1e9af2fcec9 (patch) | |
tree | 75fa61e3731577fcdb4b8e538bbb58081a90a9e4 /package/network/utils/iptables | |
parent | 12d1710184c7725c61ad4624084f3339dd4a2474 (diff) | |
download | mtk-20170518-1c891e0d4557e0f301ffb90b9056d1e9af2fcec9.zip mtk-20170518-1c891e0d4557e0f301ffb90b9056d1e9af2fcec9.tar.gz mtk-20170518-1c891e0d4557e0f301ffb90b9056d1e9af2fcec9.tar.bz2 |
iptables: pass --disable-ipv6 is CONFIG_IPV6 is unset
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 41458
Diffstat (limited to 'package/network/utils/iptables')
-rw-r--r-- | package/network/utils/iptables/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/package/network/utils/iptables/Makefile b/package/network/utils/iptables/Makefile index f6db428..8266f14 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) \ |