summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Wright <jason@cvs.openbsd.org>2001-02-02 06:01:19 +0000
committerJason Wright <jason@cvs.openbsd.org>2001-02-02 06:01:19 +0000
commit533f48acdb0a5c2397cfa38168a6e24806ebf96d (patch)
tree1affe2a7f3c074ac1404441290933955416b067a
parent47925fc05ff6b8b009de1100cb4546f158b67e63 (diff)
In the broadcast received on gif case, throw the packet up the stack if
we -found- an appropriate interface.
-rw-r--r--sys/net/if_bridge.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/if_bridge.c b/sys/net/if_bridge.c
index 61931ddbaf7..61ae49fc4c2 100644
--- a/sys/net/if_bridge.c
+++ b/sys/net/if_bridge.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_bridge.c,v 1.47 2001/02/01 01:32:51 jason Exp $ */
+/* $OpenBSD: if_bridge.c,v 1.48 2001/02/02 06:01:18 jason Exp $ */
/*
* Copyright (c) 1999, 2000 Jason L. Wright (jason@thought.net)
@@ -1161,7 +1161,7 @@ bridge_input(ifp, eh, m)
if (ifl->ifp->if_type == IFT_ETHER)
break;
}
- if (ifl == LIST_END(&sc->sc_iflist)) {
+ if (ifl != LIST_END(&sc->sc_iflist)) {
m->m_flags |= M_PROTO1;
m->m_pkthdr.rcvif = ifl->ifp;
ether_input(ifl->ifp, eh, m);