summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2002-08-09 07:47:12 +0000
committerHarald Welte <laforge@gnumonks.org>2002-08-09 07:47:12 +0000
commitf4e6683c5a4c80e494a2167d1a64d1b9c63587aa (patch)
tree3286c4a04a2bdd9e37066e4e9dba2068a7854b8d
parenta8b097891eaab7be15718af2a1bae573b0219d3a (diff)
make libipt_helper.so build always, since it's now submitted to 2.4.20
-rwxr-xr-xextensions/.helper-test2
-rw-r--r--extensions/Makefile2
-rw-r--r--include/linux/netfilter_ipv4/ipt_helper.h8
3 files changed, 9 insertions, 3 deletions
diff --git a/extensions/.helper-test b/extensions/.helper-test
deleted file mode 100755
index a9a9b726..00000000
--- a/extensions/.helper-test
+++ /dev/null
@@ -1,2 +0,0 @@
-#! /bin/sh
-[ -f $KERNEL_DIR/include/linux/netfilter_ipv4/ipt_helper.h ] && echo helper
diff --git a/extensions/Makefile b/extensions/Makefile
index 36cddb2d..b57865ac 100644
--- a/extensions/Makefile
+++ b/extensions/Makefile
@@ -1,6 +1,6 @@
#! /usr/bin/make
-PF_EXT_SLIB:=ah conntrack dscp ecn esp icmp length limit mac mark multiport owner pkttype standard state tcp tcpmss tos ttl udp unclean DNAT DSCP ECN LOG MARK MASQUERADE MIRROR REDIRECT REJECT SAME SNAT TCPMSS TOS ULOG
+PF_EXT_SLIB:=ah conntrack dscp ecn esp helper icmp length limit mac mark multiport owner pkttype standard state tcp tcpmss tos ttl udp unclean DNAT DSCP ECN LOG MARK MASQUERADE MIRROR REDIRECT REJECT SAME SNAT TCPMSS TOS ULOG
PF6_EXT_SLIB:=eui64 icmpv6 length limit mac mark multiport owner standard tcp udp LOG MARK
# The following may not be present, but compile them anyway.
diff --git a/include/linux/netfilter_ipv4/ipt_helper.h b/include/linux/netfilter_ipv4/ipt_helper.h
new file mode 100644
index 00000000..6f12ecb8
--- /dev/null
+++ b/include/linux/netfilter_ipv4/ipt_helper.h
@@ -0,0 +1,8 @@
+#ifndef _IPT_HELPER_H
+#define _IPT_HELPER_H
+
+struct ipt_helper_info {
+ int invert;
+ char name[30];
+};
+#endif /* _IPT_HELPER_H */