From 780712e30e3c192cb17891a6e317d1103fd9e808 Mon Sep 17 00:00:00 2001 From: Florian Fainelli Date: Wed, 28 Feb 2007 12:04:58 +0000 Subject: [PATCH] Add ipt_CLASSIFY target for 2.4 kernels (#1338) SVN-Revision: 6424 --- include/netfilter.mk | 2 ++ package/iptables/Makefile | 1 + package/kernel/modules/netfilter.mk | 1 + target/linux/generic-2.4/config-template | 1 + 4 files changed, 5 insertions(+) diff --git a/include/netfilter.mk b/include/netfilter.mk index 64372b541f..58a81ee0b2 100644 --- a/include/netfilter.mk +++ b/include/netfilter.mk @@ -54,6 +54,8 @@ IPT_IMQ-m := IPT_IMQ-$(CONFIG_IP_NF_TARGET_IMQ) += $(P_V4)ipt_IMQ IPT_IPOPT-m := +IPT_IPOPT-$(CONFIG_IP_NF_TARGET_CLASSIFY) += $(P_V4)ipt_CLASSIFY +IPT_IPOPT-$(CONFIG_NETFILTER_XT_TARGET_CLASSIFY) += $(P_XT)xt_CLASSIFY IPT_IPOPT-$(CONFIG_IP_NF_MATCH_DSCP) += $(P_V4)ipt_dscp IPT_IPOPT-$(CONFIG_IP_NF_TARGET_DSCP) += $(P_V4)ipt_DSCP IPT_IPOPT-$(CONFIG_IP_NF_MATCH_ECN) += $(P_V4)ipt_ecn diff --git a/package/iptables/Makefile b/package/iptables/Makefile index 6e486df925..1b6bfc0b1f 100644 --- a/package/iptables/Makefile +++ b/package/iptables/Makefile @@ -91,6 +91,7 @@ define Package/iptables-mod-ipopt iptables extensions for matching/changing IP packet options.\\\ \\\ Includes: \\\ + - libipt_CLASSIFY \\\ - libipt_dscp/DSCP \\\ - libipt_ecn/ECN \\\ - libipt_length \\\ diff --git a/package/kernel/modules/netfilter.mk b/package/kernel/modules/netfilter.mk index 5f7efe61f5..be05dc035a 100644 --- a/package/kernel/modules/netfilter.mk +++ b/package/kernel/modules/netfilter.mk @@ -43,6 +43,7 @@ define KernelPackage/ipt-ipopt Netfilter (IPv4) modules for matching/changing IP packet options \\\ \\\ Includes: \\\ + - ipt_CLASSIFY \\\ - ipt_dscp/DSCP \\\ - ipt_ecn/ECN \\\ - ipt_length \\\ diff --git a/target/linux/generic-2.4/config-template b/target/linux/generic-2.4/config-template index c5fa8b5514..1553111e8b 100644 --- a/target/linux/generic-2.4/config-template +++ b/target/linux/generic-2.4/config-template @@ -278,6 +278,7 @@ CONFIG_IP_NF_SET_PORTMAP=m CONFIG_IP_NF_TARGET_CONNMARK=m CONFIG_IP_NF_TARGET_DSCP=m CONFIG_IP_NF_TARGET_ECN=m +CONFIG_IP_NF_TARGET_CLASSIFY=m CONFIG_IP_NF_TARGET_IMQ=m CONFIG_IP_NF_TARGET_LOG=m CONFIG_IP_NF_TARGET_MARK=y -- 2.30.2