diff options
author | jasoni <jasoni@cvs.openbsd.org> | 2001-12-13 04:59:54 +0000 |
---|---|---|
committer | jasoni <jasoni@cvs.openbsd.org> | 2001-12-13 04:59:54 +0000 |
commit | 0cb753a2336d243cf478199365718852124f4bde (patch) | |
tree | 85ec7ac1974e4ec6da0dcf89358b761d439b8ac9 | |
parent | ef3f407188014f5e7189f1eaa440e652877a62c6 (diff) |
remove redundant #if NPF. ok jason@
-rw-r--r-- | sys/net/if_bridge.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/sys/net/if_bridge.c b/sys/net/if_bridge.c index 9c2e1a4ad2c..112693da965 100644 --- a/sys/net/if_bridge.c +++ b/sys/net/if_bridge.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_bridge.c,v 1.79 2001/12/10 05:46:57 jasoni Exp $ */ +/* $OpenBSD: if_bridge.c,v 1.80 2001/12/13 04:59:53 jasoni Exp $ */ /* * Copyright (c) 1999, 2000 Jason L. Wright (jason@thought.net) @@ -1927,9 +1927,6 @@ bridge_filter(sc, dir, ifp, eh, m) struct ether_header *eh; struct mbuf *m; { -#if NPF == 0 - return (m); -#else struct llc llc; int hassnap = 0; struct ip *ip; @@ -2048,6 +2045,5 @@ dropit: if (m != NULL) m_freem(m); return (NULL); -#endif /* NPF == 0 */ } -#endif +#endif /* NPF > 0 */ |