#if 0'ed too strong sanity check against packets with v4 compatible addresses.
we may want to re-enable it whenever mech-xx clarifies router behavior against native IPv6 packet with IPv4 compatible addresses.
This commit is contained in:
parent
3eb54fdef9
commit
a25da23509
|
@ -1,4 +1,5 @@
|
|||
/* $NetBSD: ip6_input.c,v 1.16 2000/02/20 00:56:43 darrenr Exp $ */
|
||||
/* $NetBSD: ip6_input.c,v 1.17 2000/03/21 11:05:12 itojun Exp $ */
|
||||
/* $KAME: ip6_input.c,v 1.72 2000/03/21 09:23:19 itojun Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
|
||||
|
@ -369,9 +370,13 @@ ip6_input(m)
|
|||
in6_ifstat_inc(m->m_pkthdr.rcvif, ifs6_in_addrerr);
|
||||
goto bad;
|
||||
}
|
||||
#if 1
|
||||
#if 0
|
||||
/*
|
||||
* We don't support it, so it is strange to get this.
|
||||
* Reject packets with IPv4 compatible addresses (auto tunnel).
|
||||
*
|
||||
* The code forbids auto tunnel relay case in RFC1933 (the check is
|
||||
* stronger than RFC1933). We may want to re-enable it if mech-xx
|
||||
* is revised to forbid relaying case.
|
||||
*/
|
||||
if (IN6_IS_ADDR_V4COMPAT(&ip6->ip6_src) ||
|
||||
IN6_IS_ADDR_V4COMPAT(&ip6->ip6_dst)) {
|
||||
|
|
Loading…
Reference in New Issue