From a1a2de5139dd05a1b4b18ba9b900d3cabf3aa23c Mon Sep 17 00:00:00 2001 From: Luigi Rizzo Date: Sun, 10 Jan 1999 17:40:10 +0000 Subject: Remove check from where arp replies are coming from -- when doing bridging, interfaces are used in clusters so the check does not apply. --- sys/netinet/if_ether.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'sys/netinet') diff --git a/sys/netinet/if_ether.c b/sys/netinet/if_ether.c index 2dbc38c61da24..a1119b32ef105 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) -- cgit v1.3