Skip to contentSkip to conversation

fix the path to detect esp/connbytes support in kernel

PATCH Applied Yasuyuki KOZAKAI 2 participants 2 messages Apr 7, 2006 – Apr 12, 2006 netfilter

lore
Share & tools
lore
#0 lore raw

PATCH 4/4 fix the path to detect esp/connbytes support in kernel

[IPTABLES,IP6TABLES]: fix the path to detect esp/connbytes support in kernel

The recent kernels don't have ipt_connbytes.c and ip6t_esp.c.

---
commit 12bc86c77dae9d0590c5ee021d9c00f2291bfe0b
tree 29a3b1b160d4784a2b264c348d1f781eedbb0ae5
parent c94b52d4b6fff1bfc2da3e192b39e0f45cd12750
author Yasuyuki Kozakai <[email protected]> Thu, 06 Apr 2006 20:18:10 +0900 committer Yasuyuki Kozakai <[email protected]> Thu, 06 Apr 2006 20:18:10 +0900

 extensions/.connbytes-test |    2 +-
 extensions/.esp-test6      |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
extensions/.connbytes-test +1 -1
index 350140f..61355d0 100755
@@ -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
extensions/.esp-test6 +1 -1
index ff63ca4..7ded945 100755
@@ -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
Applied
#1 lore raw
Quoted 3 lines · Yasuyuki KOZAKAI

[IPTABLES,IP6TABLES]: fix the path to detect esp/connbytes support in kernel

The recent kernels don't have ipt_connbytes.c and ip6t_esp.c.

thanks, applied. Please commit such changes to svn on your own in the future.

Signature · 5 lines
- Harald Welte <[email protected]>                 http://netfilter.org/
============================================================================
  "Fragmentation is like classful addressing -- an interesting early
   architectural error that shows how much experimentation was going
   on while IP was being designed."                    -- Paul Vixie