diff options
| author | Qing Li <qingli@FreeBSD.org> | 2009-10-28 21:45:25 +0000 |
|---|---|---|
| committer | Qing Li <qingli@FreeBSD.org> | 2009-10-28 21:45:25 +0000 |
| commit | f60909e3e262a8d06d29b88fd553b4f735b6f200 (patch) | |
| tree | 61381925eee9d86632165e0b347be815eef00203 | |
| parent | 54b7653bd533aa4775854bdcf45816a292228eaa (diff) | |
Notes
| -rw-r--r-- | sys/netinet/if_ether.c | 2 | ||||
| -rw-r--r-- | sys/netinet/in.c | 6 | ||||
| -rw-r--r-- | sys/netinet6/in6.c | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/sys/netinet/if_ether.c b/sys/netinet/if_ether.c index be1e529bbaff..15d529db88d9 100644 --- a/sys/netinet/if_ether.c +++ b/sys/netinet/if_ether.c @@ -172,7 +172,7 @@ arptimer(void *arg) callout_active(&lle->la_timer))) { (void) llentry_free(lle); } -#ifdef DIAGNOSTICS +#ifdef DIAGNOSTIC else { struct sockaddr *l3addr = L3_ADDR(lle); log(LOG_INFO, "arptimer issue: %p, IPv4 address: \"%s\"\n", lle, diff --git a/sys/netinet/in.c b/sys/netinet/in.c index 1b0a6746e342..e289c9313834 100644 --- a/sys/netinet/in.c +++ b/sys/netinet/in.c @@ -1327,7 +1327,7 @@ in_lltable_rtcheck(struct ifnet *ifp, const struct sockaddr *l3addr) /* XXX rtalloc1 should take a const param */ rt = rtalloc1(__DECONST(struct sockaddr *, l3addr), 0, 0); if (rt == NULL || (rt->rt_flags & RTF_GATEWAY) || rt->rt_ifp != ifp) { -#ifdef DIAGNOSTICS +#ifdef DIAGNOSTIC log(LOG_INFO, "IPv4 address: \"%s\" is not on the network\n", inet_ntoa(((const struct sockaddr_in *)l3addr)->sin_addr)); #endif @@ -1366,7 +1366,7 @@ in_lltable_lookup(struct lltable *llt, u_int flags, const struct sockaddr *l3add break; } if (lle == NULL) { -#ifdef DIAGNOSTICS +#ifdef DIAGNOSTIC if (flags & LLE_DELETE) log(LOG_INFO, "interface address is missing from cache = %p in delete\n", lle); #endif @@ -1400,7 +1400,7 @@ in_lltable_lookup(struct lltable *llt, u_int flags, const struct sockaddr *l3add LLE_WLOCK(lle); lle->la_flags = LLE_DELETED; LLE_WUNLOCK(lle); -#ifdef DIAGNOSTICS +#ifdef DIAGNOSTIC log(LOG_INFO, "ifaddr cache = %p is deleted\n", lle); #endif } diff --git a/sys/netinet6/in6.c b/sys/netinet6/in6.c index aef2908abd26..bf511247a28a 100644 --- a/sys/netinet6/in6.c +++ b/sys/netinet6/in6.c @@ -2430,7 +2430,7 @@ in6_lltable_lookup(struct lltable *llt, u_int flags, LLE_WLOCK(lle); lle->la_flags = LLE_DELETED; LLE_WUNLOCK(lle); -#ifdef DIAGNOSTICS +#ifdef DIAGNOSTIC log(LOG_INFO, "ifaddr cache = %p is deleted\n", lle); #endif } |
