From f69453ca8bbf11edfa166f01f72a5a040df8a680 Mon Sep 17 00:00:00 2001 From: Andrew Thompson Date: Tue, 4 Oct 2005 19:50:02 +0000 Subject: [PATCH] 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 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 --- sys/netinet/if_ether.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/netinet/if_ether.c b/sys/netinet/if_ether.c index ec5a7a7dc15..89b7f40e92a 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), ":",