summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2002-07-02 23:36:17 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2002-07-02 23:36:17 +0000
commit1423d3a1f1bec6ff9813a5edb87e254e7f153fce (patch)
treeb63afa631ac186041dcfddff72f9d0d48f332d79 /sys
parent6ddeeb757a2e13d6f884fd09e38ff542979443a8 (diff)
make it compile w/ ipsec and no pf ; smth that was left for homework
Diffstat (limited to 'sys')
-rw-r--r--sys/net/if_bridge.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/if_bridge.c b/sys/net/if_bridge.c
index a28ffff14e7..0db15cec265 100644
--- a/sys/net/if_bridge.c
+++ b/sys/net/if_bridge.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_bridge.c,v 1.100 2002/07/01 22:24:44 jason Exp $ */
+/* $OpenBSD: if_bridge.c,v 1.101 2002/07/02 23:36:16 mickey Exp $ */
/*
* Copyright (c) 1999, 2000 Jason L. Wright (jason@thought.net)
@@ -2262,7 +2262,7 @@ bridge_ipsec(dir, af, hlen, m)
}
#endif /* IPSEC */
-#if NPF > 0 || defined(IPSEC)
+#if NPF > 0
/*
* Filter IP packets by peeking into the ethernet frame. This violates
* the ISO model, but allows us to act as a IP filter at the data link