summaryrefslogtreecommitdiff
path: root/sbin/pfctl
diff options
context:
space:
mode:
authorMike Belopuhov <mikeb@cvs.openbsd.org>2012-07-26 11:48:01 +0000
committerMike Belopuhov <mikeb@cvs.openbsd.org>2012-07-26 11:48:01 +0000
commitb6c566d9437a9a046cdb8dec99036c37a55fb241 (patch)
tree212fb3adefd6d11182e8b843c06c9d5d83284e77 /sbin/pfctl
parent1d51075d4ae5e1af23f61d85f6b07adb30ea9046 (diff)
load os passive fingerprints when testing the ruleset; ok henning
Diffstat (limited to 'sbin/pfctl')
-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;