summaryrefslogtreecommitdiffstats
path: root/sys/netinet/ip_encap.c
diff options
context:
space:
mode:
authorjulian <julian@FreeBSD.org>2001-09-03 20:55:35 +0000
committerjulian <julian@FreeBSD.org>2001-09-03 20:55:35 +0000
commit70318b8e978db8026ebb344872a6674d87ec9040 (patch)
tree460dcb128855a8e2bc1cebe1e57eb033affe4911 /sys/netinet/ip_encap.c
parent34824b62c070b1333ec128e5435ca2842433f590 (diff)
downloadFreeBSD-src-70318b8e978db8026ebb344872a6674d87ec9040.zip
FreeBSD-src-70318b8e978db8026ebb344872a6674d87ec9040.tar.gz
Call ip_input() instead of ipip_input()
when decoding encapsulated ipv4 packets. (allows line to compile again)
Diffstat (limited to 'sys/netinet/ip_encap.c')
-rw-r--r--sys/netinet/ip_encap.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/sys/netinet/ip_encap.c b/sys/netinet/ip_encap.c
index 2caeeac..046f45b 100644
--- a/sys/netinet/ip_encap.c
+++ b/sys/netinet/ip_encap.c
@@ -214,8 +214,15 @@ encap4_input(m, va_alist)
}
/* for backward compatibility - messy... */
+ /* XXX
+ * I THINK they meant to call ip_input()
+ * The original code called ipip_input()
+ * which just calls rip_input()
+ * which makes no sense.
+ * (It is also not compiled in in LINT)
+ */
if (proto == IPPROTO_IPV4) {
- ipip_input(m, off);
+ ip_input(m, off);
return;
}
OpenPOWER on IntegriCloud