summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcedric <cedric@openbsd.org>2004-02-02 19:56:23 +0000
committercedric <cedric@openbsd.org>2004-02-02 19:56:23 +0000
commit0c986639145fd3b41b8fda28132f601ca1b15adb (patch)
tree891e61980348a151bd4f94c70f5b1f7f91019cf9
parentpartially working... (diff)
downloadwireguard-openbsd-0c986639145fd3b41b8fda28132f601ca1b15adb.tar.xz
wireguard-openbsd-0c986639145fd3b41b8fda28132f601ca1b15adb.zip
missing #if NPF > 0. ok henning@
-rw-r--r--sys/net/if_bridge.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/net/if_bridge.c b/sys/net/if_bridge.c
index f8037809a10..4488fea6da0 100644
--- a/sys/net/if_bridge.c
+++ b/sys/net/if_bridge.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_bridge.c,v 1.129 2003/12/17 13:08:41 markus Exp $ */
+/* $OpenBSD: if_bridge.c,v 1.130 2004/02/02 19:56:23 cedric Exp $ */
/*
* Copyright (c) 1999, 2000 Jason L. Wright (jason@thought.net)
@@ -2075,7 +2075,9 @@ bridge_filterrule(struct brl_head *h, struct ether_header *eh, struct mbuf *m)
return (BRL_ACTION_PASS);
return_action:
+#if NPF > 0
pf_tag_packet(m, NULL, n->brl_tag);
+#endif
return (n->brl_action);
}