Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/netinet6 do not return icmp6 error against icmp6 error.
details: https://anonhg.NetBSD.org/src/rev/3f1e6a8cec61
branches: trunk
changeset: 484842:3f1e6a8cec61
user: itojun <itojun%NetBSD.org@localhost>
date: Thu Apr 13 14:07:10 2000 +0000
description:
do not return icmp6 error against icmp6 error.
(this is due to a bug in header chain chasing)
diffstat:
sys/netinet6/icmp6.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 58f4670a2617 -r 3f1e6a8cec61 sys/netinet6/icmp6.c
--- a/sys/netinet6/icmp6.c Thu Apr 13 13:25:56 2000 +0000
+++ b/sys/netinet6/icmp6.c Thu Apr 13 14:07:10 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: icmp6.c,v 1.27 2000/03/22 04:42:01 itojun Exp $ */
+/* $NetBSD: icmp6.c,v 1.28 2000/04/13 14:07:10 itojun Exp $ */
/* $KAME: icmp6.c,v 1.75 2000/03/11 09:32:17 itojun Exp $ */
/*
@@ -196,7 +196,7 @@
* don't do it.
*/
nxt = -1;
- off = ip6_lasthdr(m, sizeof(struct ip6_hdr), oip6->ip6_nxt, &nxt);
+ off = ip6_lasthdr(m, 0, IPPROTO_IPV6, &nxt);
if (off >= 0 && nxt == IPPROTO_ICMPV6) {
struct icmp6_hdr *icp;
Home |
Main Index |
Thread Index |
Old Index