diff --git a/sys/net/if_disc.c b/sys/net/if_disc.c index fbabf3078df3..7c2dc4f10642 100644 --- a/sys/net/if_disc.c +++ b/sys/net/if_disc.c @@ -209,5 +209,5 @@ discioctl(struct ifnet *ifp, u_long cmd, caddr_t data) default: error = EINVAL; } - return error; + return (error); } diff --git a/sys/net/if_ethersubr.c b/sys/net/if_ethersubr.c index ceac9c1f2c6a..399f0658b92d 100644 --- a/sys/net/if_ethersubr.c +++ b/sys/net/if_ethersubr.c @@ -490,6 +490,7 @@ ether_demux(ifp, eh, m) #if defined(NETATALK) register struct llc *l; #endif + if (! (BDG_ACTIVE(ifp) ) ) /* Discard packet if upper layers shouldn't see it because it was unicast to a different Ethernet address. If the driver is working