aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2013-01-14 16:12:56 +0000
committerJo-Philipp Wich <jow@openwrt.org>2013-01-14 16:12:56 +0000
commit16345d03566ef31bb3d240f72ada5d73802389d6 (patch)
tree5129eb1e9b81b21497b265f09ee5df5347e97a0b /include
parent34ae8d8c46aa1ec49024cbda820fc7953ad3dc77 (diff)
downloadupstream-16345d03566ef31bb3d240f72ada5d73802389d6.tar.gz
upstream-16345d03566ef31bb3d240f72ada5d73802389d6.tar.bz2
upstream-16345d03566ef31bb3d240f72ada5d73802389d6.zip
netfilter.mk: add addrtype match to iptables-mod-extra (kmod-ipt-extra)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35155 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'include')
-rw-r--r--include/netfilter.mk3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/netfilter.mk b/include/netfilter.mk
index 86f35e5fd4..1d89e6d539 100644
--- a/include/netfilter.mk
+++ b/include/netfilter.mk
@@ -76,8 +76,7 @@ $(eval $(if $(NF_KMOD),,$(call nf_add,IPT_CONNTRACK_EXTRA,CONFIG_NETFILTER_XT_TA
# extra
-# kernel only
-
+$(eval $(call nf_add,IPT_EXTRA,CONFIG_NETFILTER_XT_MATCH_ADDRTYPE, $(if $(NF_KMOD),$(P_XT)xt_addrtype,$(P_XT)ipt_addrtype)))
$(eval $(call nf_add,IPT_EXTRA,CONFIG_NETFILTER_XT_MATCH_OWNER, $(P_XT)xt_owner))
$(eval $(call nf_add,IPT_EXTRA,CONFIG_NETFILTER_XT_MATCH_PHYSDEV, $(P_XT)xt_physdev))
$(eval $(call nf_add,IPT_EXTRA,CONFIG_NETFILTER_XT_MATCH_PKTTYPE, $(P_XT)xt_pkttype))