Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-5]: src/sys/netinet6 Pull up revision 1.50 (requested by itojun):
details: https://anonhg.NetBSD.org/src/rev/d88db7382684
branches: netbsd-1-5
changeset: 490544:d88db7382684
user: jhawk <jhawk%NetBSD.org@localhost>
date: Fri Jan 26 01:18:25 2001 +0000
description:
Pull up revision 1.50 (requested by itojun):
Only printf() IPv6 ICMP checksum errors under ND6DEBUG.
diffstat:
sys/netinet6/icmp6.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (24 lines):
diff -r 804174df88ed -r d88db7382684 sys/netinet6/icmp6.c
--- a/sys/netinet6/icmp6.c Fri Jan 26 01:03:50 2001 +0000
+++ b/sys/netinet6/icmp6.c Fri Jan 26 01:18:25 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: icmp6.c,v 1.33.2.5 2000/10/02 23:41:32 itojun Exp $ */
+/* $NetBSD: icmp6.c,v 1.33.2.6 2001/01/26 01:18:25 jhawk Exp $ */
/* $KAME: icmp6.c,v 1.146 2000/10/01 12:37:20 itojun Exp $ */
/*
@@ -328,11 +328,11 @@
code = icmp6->icmp6_code;
if ((sum = in6_cksum(m, IPPROTO_ICMPV6, off, icmp6len)) != 0) {
+#ifdef ND6DEBUG
log(LOG_ERR,
"ICMP6 checksum error(%d|%x) %s\n",
- icmp6->icmp6_type,
- sum,
- ip6_sprintf(&ip6->ip6_src));
+ icmp6->icmp6_type, sum, ip6_sprintf(&ip6->ip6_src));
+#endif
icmp6stat.icp6s_checksum++;
goto freeit;
}
Home |
Main Index |
Thread Index |
Old Index