diff options
-rw-r--r-- | sys/netinet6/icmp6.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/netinet6/icmp6.c b/sys/netinet6/icmp6.c index 3b0632123a2..db8c4ff3e79 100644 --- a/sys/netinet6/icmp6.c +++ b/sys/netinet6/icmp6.c @@ -1,4 +1,4 @@ -/* $OpenBSD: icmp6.c,v 1.27 2000/12/11 19:29:50 itojun Exp $ */ +/* $OpenBSD: icmp6.c,v 1.28 2001/01/08 06:22:05 itojun Exp $ */ /* $KAME: icmp6.c,v 1.172 2000/12/11 19:27:06 itojun Exp $ */ /* @@ -417,11 +417,11 @@ icmp6_input(mp, offp, proto) 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; } |