summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorCedric Berger <cedric@cvs.openbsd.org>2004-02-02 19:56:24 +0000
committerCedric Berger <cedric@cvs.openbsd.org>2004-02-02 19:56:24 +0000
commit0753dedde11a7792bc33417016c29c1df28c7dfa (patch)
tree9a2a5ab301abf10787ba999fcf0d126a1ad775a4 /sys
parent0d70551aeafe691cdfdd378df90ff584296c72e1 (diff)
missing #if NPF > 0. ok henning@
Diffstat (limited to 'sys')
-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);
}