summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/net/if_disc.c2
-rw-r--r--sys/net/if_ethersubr.c1
2 files changed, 2 insertions, 1 deletions
diff --git a/sys/net/if_disc.c b/sys/net/if_disc.c
index fbabf30..7c2dc4f 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 ceac9c1..399f065 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
OpenPOWER on IntegriCloud