wrap noisy ND6 debugging messages with ND6_DEBUG. sync with kame
This commit is contained in:
parent
6b177fb05c
commit
4dbe2a5a97
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: nd6_nbr.c,v 1.23 2000/11/05 17:17:16 onoe Exp $ */
|
||||
/* $NetBSD: nd6_nbr.c,v 1.24 2001/01/17 11:26:52 itojun Exp $ */
|
||||
/* $KAME: nd6_nbr.c,v 1.36 2000/05/17 12:35:59 jinmei Exp $ */
|
||||
|
||||
/*
|
||||
|
@ -105,8 +105,10 @@ nd6_ns_input(m, off, icmp6len)
|
|||
struct sockaddr_dl *proxydl = NULL;
|
||||
|
||||
if (ip6->ip6_hlim != 255) {
|
||||
#ifdef ND6_DEBUG
|
||||
log(LOG_ERR,
|
||||
"nd6_ns_input: invalid hlim %d\n", ip6->ip6_hlim);
|
||||
#endif
|
||||
goto freeit;
|
||||
}
|
||||
|
||||
|
@ -539,8 +541,10 @@ nd6_na_input(m, off, icmp6len)
|
|||
union nd_opts ndopts;
|
||||
|
||||
if (ip6->ip6_hlim != 255) {
|
||||
#ifdef ND6_DEBUG
|
||||
log(LOG_ERR,
|
||||
"nd6_na_input: invalid hlim %d\n", ip6->ip6_hlim);
|
||||
#endif
|
||||
goto freeit;
|
||||
}
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: nd6_rtr.c,v 1.18 2000/08/13 23:45:22 itojun Exp $ */
|
||||
/* $NetBSD: nd6_rtr.c,v 1.19 2001/01/17 11:26:53 itojun Exp $ */
|
||||
/* $KAME: nd6_rtr.c,v 1.40 2000/06/13 03:02:29 jinmei Exp $ */
|
||||
|
||||
/*
|
||||
|
@ -119,8 +119,10 @@ nd6_rs_input(m, off, icmp6len)
|
|||
|
||||
/* Sanity checks */
|
||||
if (ip6->ip6_hlim != 255) {
|
||||
#ifdef ND6_DEBUG
|
||||
log(LOG_ERR,
|
||||
"nd6_rs_input: invalid hlim %d\n", ip6->ip6_hlim);
|
||||
#endif
|
||||
goto freeit;
|
||||
}
|
||||
|
||||
|
@ -197,8 +199,10 @@ nd6_ra_input(m, off, icmp6len)
|
|||
goto freeit;
|
||||
|
||||
if (ip6->ip6_hlim != 255) {
|
||||
#ifdef ND6_DEBUG
|
||||
log(LOG_ERR,
|
||||
"nd6_ra_input: invalid hlim %d\n", ip6->ip6_hlim);
|
||||
#endif
|
||||
goto freeit;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue