summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-02-28 12:04:58 +0000
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-02-28 12:04:58 +0000
commitdd74e6606a6b45b7c694b144d5c1fd43d5d73d57 (patch)
tree20ff3b2bb189d3506009b1dbba512f03072a5c21
parentc82826dab3f97f081c5fc080351a1b630f765312 (diff)
Add ipt_CLASSIFY target for 2.4 kernels (#1338)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6424 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--include/netfilter.mk2
-rw-r--r--package/iptables/Makefile1
-rw-r--r--package/kernel/modules/netfilter.mk1
-rw-r--r--target/linux/generic-2.4/config-template1
4 files changed, 5 insertions, 0 deletions
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