]> git.ipfire.org Git - thirdparty/iptables.git/commitdiff
[IPTABLES,IP6TABLES]: fix the path to detect esp/connbytes support in kernel
authorHarald Welte <laforge@gnumonks.org>
Wed, 12 Apr 2006 10:58:41 +0000 (10:58 +0000)
committerHarald Welte <laforge@gnumonks.org>
Wed, 12 Apr 2006 10:58:41 +0000 (10:58 +0000)
The recent kernels don't have ipt_connbytes.c and ip6t_esp.c.

extensions/.connbytes-test
extensions/.esp-test6

index 350140f718a9b8b4d1eae1aa43c0beb8f6f567fe..61355d09fa932a0fdbd13610ee3785bc91300cfc 100755 (executable)
@@ -1,2 +1,2 @@
 #! /bin/sh
-[ -f $KERNEL_DIR/net/ipv4/netfilter/ipt_connbytes.c ] && echo connbytes
+[ -f $KERNEL_DIR/include/linux/netfilter_ipv4/ipt_connbytes.h ] && echo connbytes
index ff63ca4bab9d2eec2bbf5a34bf98fedac67649df..7ded94525b09084ec17be68f2260da3bb53b545c 100755 (executable)
@@ -1,2 +1,2 @@
 #!/bin/sh
-[ -f $KERNEL_DIR/net/ipv6/netfilter/ip6t_esp.c -a -f $KERNEL_DIR/include/linux/netfilter_ipv6/ip6t_esp.h ] && echo esp
+[ -f $KERNEL_DIR/include/linux/netfilter_ipv6/ip6t_esp.h ] && echo esp