Author: cyrus
Date: 2014-09-29 07:24:32 +0200 (Mon, 29 Sep 2014)
New Revision: 42696

Modified:
   trunk/include/netfilter.mk
Log:
netfilter: unbreak kmod-ipt-nat for <3.7

Modified: trunk/include/netfilter.mk
===================================================================
--- trunk/include/netfilter.mk  2014-09-29 03:33:10 UTC (rev 42695)
+++ trunk/include/netfilter.mk  2014-09-29 05:24:32 UTC (rev 42696)
@@ -164,6 +164,7 @@
 # nat
 
 # kernel only
+$(eval $(if $(NF_KMOD),$(call nf_add,NF_NAT,CONFIG_NF_NAT, $(P_V4)nf_nat, lt 
3.7.0),))
 $(eval $(if $(NF_KMOD),$(call nf_add,NF_NAT,CONFIG_NF_NAT, $(P_XT)nf_nat, ge 
3.7.0),))
 $(eval $(if $(NF_KMOD),$(call nf_add,NF_NAT,CONFIG_NF_NAT_IPV4, 
$(P_V4)nf_nat_ipv4, ge 3.7.0),))
 $(eval $(if $(NF_KMOD),$(call nf_add,NF_NAT6,CONFIG_NF_NAT_IPV6, 
$(P_V6)nf_nat_ipv6, ge 3.7.0),))
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to