diff options
author | thompsa <thompsa@FreeBSD.org> | 2005-10-04 19:50:02 +0000 |
---|---|---|
committer | thompsa <thompsa@FreeBSD.org> | 2005-10-04 19:50:02 +0000 |
commit | fe5395b8466b8831e8d84f58b692e346c379c002 (patch) | |
tree | 301c37e6e92f8dedccc6618701305388f7d3adb8 /sys/netinet/if_ether.c | |
parent | 7990daf71562eb9334ae9f8d5d7e2c864c614eab (diff) | |
download | FreeBSD-src-fe5395b8466b8831e8d84f58b692e346c379c002.zip FreeBSD-src-fe5395b8466b8831e8d84f58b692e346c379c002.tar.gz |
When bridging is enabled and an ARP request is recieved on a member interface,
the arp code will search all local interfaces for a match. This triggers a
kernel log if the bridge has been assigned an address.
arp: ac:de:48:18:83:3d is using my IP address 192.168.0.142!
bridge0: flags=8041<UP,RUNNING,MULTICAST> mtu 1500
inet 192.168.0.142 netmask 0xffffff00
ether ac:de:48:18:83:3d
Silence this warning for 6.0 to stop unnecessary bug reports, the code will need
to be reworked.
Approved by: mlaier (mentor)
MFC after: 3 days
Diffstat (limited to 'sys/netinet/if_ether.c')
-rw-r--r-- | sys/netinet/if_ether.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet/if_ether.c b/sys/netinet/if_ether.c index ec5a7a7..89b7f40 100644 --- a/sys/netinet/if_ether.c +++ b/sys/netinet/if_ether.c @@ -677,7 +677,7 @@ match: * case we suppress the warning to avoid false positive complaints of * potential misconfiguration. */ - if (isaddr.s_addr == myaddr.s_addr && myaddr.s_addr != 0) { + if (!bridged && isaddr.s_addr == myaddr.s_addr && myaddr.s_addr != 0) { log(LOG_ERR, "arp: %*D is using my IP address %s!\n", ifp->if_addrlen, (u_char *)ar_sha(ah), ":", |