diff options
author | julian <julian@FreeBSD.org> | 2001-09-03 20:55:35 +0000 |
---|---|---|
committer | julian <julian@FreeBSD.org> | 2001-09-03 20:55:35 +0000 |
commit | 70318b8e978db8026ebb344872a6674d87ec9040 (patch) | |
tree | 460dcb128855a8e2bc1cebe1e57eb033affe4911 /sys/netinet/ip_encap.c | |
parent | 34824b62c070b1333ec128e5435ca2842433f590 (diff) | |
download | FreeBSD-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.c | 9 |
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; } |