diff options
author | luigi <luigi@FreeBSD.org> | 1999-01-10 17:40:10 +0000 |
---|---|---|
committer | luigi <luigi@FreeBSD.org> | 1999-01-10 17:40:10 +0000 |
commit | 45794144c550a058b0b08c914dcc666aa7ab36fa (patch) | |
tree | a6815fe95d3c125cee7b8df2ecc336f66cfe105a /sys/netinet | |
parent | 72c2f36cce7f0a4b551c6cc6a4ea1c76e4ca98bd (diff) | |
download | FreeBSD-src-45794144c550a058b0b08c914dcc666aa7ab36fa.zip FreeBSD-src-45794144c550a058b0b08c914dcc666aa7ab36fa.tar.gz |
Remove check from where arp replies are coming from -- when doing bridging,
interfaces are used in clusters so the check does not apply.
Diffstat (limited to 'sys/netinet')
-rw-r--r-- | sys/netinet/if_ether.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/netinet/if_ether.c b/sys/netinet/if_ether.c index 2dbc38c..a1119b3 100644 --- a/sys/netinet/if_ether.c +++ b/sys/netinet/if_ether.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)if_ether.c 8.1 (Berkeley) 6/10/93 - * $Id: if_ether.c,v 1.48 1998/09/17 00:04:21 fenner Exp $ + * $Id: if_ether.c,v 1.49 1998/12/14 18:09:13 luigi Exp $ */ /* @@ -504,6 +504,7 @@ in_arpinput(m) } la = arplookup(isaddr.s_addr, itaddr.s_addr == myaddr.s_addr, 0); if (la && (rt = la->la_rt) && (sdl = SDL(rt->rt_gateway))) { +#ifndef BRIDGE /* the following is not an error when doing bridging */ if (rt->rt_ifp != &ac->ac_if) { log(LOG_ERR, "arp: %s is on %s%d but got reply from %6D on %s%d\n", inet_ntoa(isaddr), @@ -512,6 +513,7 @@ in_arpinput(m) ac->ac_if.if_name, ac->ac_if.if_unit); goto reply; } +#endif if (sdl->sdl_alen && bcmp((caddr_t)ea->arp_sha, LLADDR(sdl), sdl->sdl_alen)) if (rt->rt_expire) |