diff options
| author | Andrey V. Elsukov <ae@FreeBSD.org> | 2011-07-07 11:59:51 +0000 |
|---|---|---|
| committer | Andrey V. Elsukov <ae@FreeBSD.org> | 2011-07-07 11:59:51 +0000 |
| commit | 4659e09dcb84c6f9e487e8a872e79e96a6ab5803 (patch) | |
| tree | b9a5ce1b06e75cc0051dab48aa43305179148cc1 /sys/netinet | |
| parent | 1c6e7fa7f1b1f172ca39a362cff3072aba071e85 (diff) | |
Notes
Diffstat (limited to 'sys/netinet')
| -rw-r--r-- | sys/netinet/if_ether.c | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/sys/netinet/if_ether.c b/sys/netinet/if_ether.c index f91a9de7de50..f766fc444848 100644 --- a/sys/netinet/if_ether.c +++ b/sys/netinet/if_ether.c @@ -694,11 +694,13 @@ match: bcmp(ar_sha(ah), &la->ll_addr, ifp->if_addrlen)) { if (la->la_flags & LLE_STATIC) { LLE_WUNLOCK(la); - log(LOG_ERR, - "arp: %*D attempts to modify permanent " - "entry for %s on %s\n", - ifp->if_addrlen, (u_char *)ar_sha(ah), ":", - inet_ntoa(isaddr), ifp->if_xname); + if (log_arp_permanent_modify) + log(LOG_ERR, + "arp: %*D attempts to modify " + "permanent entry for %s on %s\n", + ifp->if_addrlen, + (u_char *)ar_sha(ah), ":", + inet_ntoa(isaddr), ifp->if_xname); goto reply; } if (log_arp_movements) { |
