diff options
author | suz <suz@FreeBSD.org> | 2005-03-02 05:14:15 +0000 |
---|---|---|
committer | suz <suz@FreeBSD.org> | 2005-03-02 05:14:15 +0000 |
commit | 081ad05e6e5600268cea90579583b3d52baf534a (patch) | |
tree | c82cd8b50eb0b42b98ed334dddfeddf2eb7234b8 | |
parent | 89cf2871b8fc134ee43cb39af666e7b439b2c5cc (diff) | |
download | FreeBSD-src-081ad05e6e5600268cea90579583b3d52baf534a.zip FreeBSD-src-081ad05e6e5600268cea90579583b3d52baf534a.tar.gz |
ignores ICMPv6 code field in case of ICMPv6 Packet-Too-Big (as specified in RFC2463 and draft-ietf-ipngwg-icmp-v3-06.txt)
Obtained from: KAME
MFC after: 1 day
-rw-r--r-- | sys/netinet6/icmp6.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/netinet6/icmp6.c b/sys/netinet6/icmp6.c index 4f62825..a6f0f05 100644 --- a/sys/netinet6/icmp6.c +++ b/sys/netinet6/icmp6.c @@ -469,8 +469,6 @@ icmp6_input(mp, offp, proto) case ICMP6_PACKET_TOO_BIG: icmp6_ifstat_inc(m->m_pkthdr.rcvif, ifs6_in_pkttoobig); - if (code != 0) - goto badcode; /* validation is made in icmp6_mtudisc_update */ |