summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormikeb <mikeb@openbsd.org>2012-07-26 11:48:00 +0000
committermikeb <mikeb@openbsd.org>2012-07-26 11:48:00 +0000
commit4a9baa970f1368fbd50e6cb39dcfe48b5784717f (patch)
tree3e4eaa1319018cd159a96f7cda26ae8454c7d5de
parentdo not check ns here, we're supposed to compute it; ok krw@ deraadt@ (diff)
downloadwireguard-openbsd-4a9baa970f1368fbd50e6cb39dcfe48b5784717f.tar.xz
wireguard-openbsd-4a9baa970f1368fbd50e6cb39dcfe48b5784717f.zip
load os passive fingerprints when testing the ruleset; ok henning
-rw-r--r--sbin/pfctl/pfctl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/pfctl/pfctl.c b/sbin/pfctl/pfctl.c
index 02114ae1bf9..815ecba6c1c 100644
--- a/sbin/pfctl/pfctl.c
+++ b/sbin/pfctl/pfctl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pfctl.c,v 1.312 2012/05/07 11:55:34 henning Exp $ */
+/* $OpenBSD: pfctl.c,v 1.313 2012/07/26 11:48:00 mikeb Exp $ */
/*
* Copyright (c) 2001 Daniel Hartmeier
@@ -2287,7 +2287,7 @@ main(int argc, char *argv[])
if (pfctl_clear_interface_flags(dev, opts | PF_OPT_QUIET))
error = 1;
- if (rulesopt != NULL && !(opts & PF_OPT_NOACTION) && !anchorname[0])
+ if (rulesopt != NULL && !anchorname[0])
if (pfctl_file_fingerprints(dev, opts, PF_OSFP_FILE))
error = 1;