summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mk/modules.mk5
-rw-r--r--target/linux/config/Config.in.netfilter2
2 files changed, 6 insertions, 1 deletions
diff --git a/mk/modules.mk b/mk/modules.mk
index 406a3b004..cb418057b 100644
--- a/mk/modules.mk
+++ b/mk/modules.mk
@@ -424,6 +424,11 @@ $(eval $(call KMOD_template,BRIDGE_EBT_REDIRECT,bridge-ebt-redirect,\
# Netfilter Core
#
+$(eval $(call KMOD_template,NETFILTER_XTABLES,netfilter-xtables,\
+ $(MODULES_DIR)/kernel/net/netfilter/x_tables \
+ $(MODULES_DIR)/kernel/net/netfilter/xt_tcpudp \
+,41))
+
$(eval $(call KMOD_template,NETFILTER_XT_TARGET_CLASSIFY,netfiler-xt-target-classify,\
$(MODULES_DIR)/kernel/net/netfilter/xt_CLASSIFY \
,50))
diff --git a/target/linux/config/Config.in.netfilter b/target/linux/config/Config.in.netfilter
index f07302981..6ba9f0219 100644
--- a/target/linux/config/Config.in.netfilter
+++ b/target/linux/config/Config.in.netfilter
@@ -16,7 +16,7 @@ config ADK_KERNEL_BRIDGE_NETFILTER
default n
config ADK_KERNEL_NETFILTER_XTABLES
- boolean
+ tristate "Netfilter Xtables support (required for ip_tables)"
select ADK_KERNEL_NETFILTER
select ADK_KERNEL_NETFILTER_ADVANCED
default y if ADK_PACKAGE_IPTABLES