diff options
author | Jun-ichiro itojun Hagino <itojun@cvs.openbsd.org> | 2001-02-07 11:43:56 +0000 |
---|---|---|
committer | Jun-ichiro itojun Hagino <itojun@cvs.openbsd.org> | 2001-02-07 11:43:56 +0000 |
commit | ab68204e67acf8f6cd003849586aeaa58289360f (patch) | |
tree | 87b1cb0f893deffd42f895d53965d05f091332f0 /sys/netinet6/ip6_input.c | |
parent | b23bfb5222ff0818eb8adf909ff2d781c2ade312 (diff) |
by default, don't bark on inbound ND messages, as outsider may be able to
fill up /var with bogus packets.
setting net.inet6.icmp6.nd6_debug will re-enable kernel messages on invalid
ND packet and other occasions.
improve icmp6 stats.
Diffstat (limited to 'sys/netinet6/ip6_input.c')
-rw-r--r-- | sys/netinet6/ip6_input.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/netinet6/ip6_input.c b/sys/netinet6/ip6_input.c index 4cc9d3424bd..67de254f5c1 100644 --- a/sys/netinet6/ip6_input.c +++ b/sys/netinet6/ip6_input.c @@ -1,5 +1,5 @@ -/* $OpenBSD: ip6_input.c,v 1.20 2001/02/06 00:22:23 mickey Exp $ */ -/* $KAME: ip6_input.c,v 1.121 2000/08/31 06:07:29 itojun Exp $ */ +/* $OpenBSD: ip6_input.c,v 1.21 2001/02/07 11:43:53 itojun Exp $ */ +/* $KAME: ip6_input.c,v 1.170 2001/02/07 07:50:02 itojun Exp $ */ /* * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project. @@ -484,10 +484,10 @@ ip6_input(m) goto hbhcheck; } else { /* address is not ready, so discard the packet. */ - log(LOG_INFO, + nd6log((LOG_INFO, "ip6_input: packet to an unready address %s->%s\n", ip6_sprintf(&ip6->ip6_src), - ip6_sprintf(&ip6->ip6_dst)); + ip6_sprintf(&ip6->ip6_dst))); goto bad; } |