summaryrefslogtreecommitdiff
path: root/sbin/pfctl
diff options
context:
space:
mode:
authorAlexandr Nedvedicky <sashan@cvs.openbsd.org>2017-09-26 20:23:33 +0000
committerAlexandr Nedvedicky <sashan@cvs.openbsd.org>2017-09-26 20:23:33 +0000
commitf7cf946cf9eb640656307af71bfbdba9dbd2c8d3 (patch)
tree7b5fe545ff430093763ecea216b72ca925d8fe2f /sbin/pfctl
parentbd2204cc91e7e6417d80dc1a031fdb193bb0d5ad (diff)
- pfctl always prints warning when flushes ruleset
OK mikeb@
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 94d6ac75210..d6cfc132c0e 100644
--- a/sbin/pfctl/pfctl.c
+++ b/sbin/pfctl/pfctl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pfctl.c,v 1.349 2017/09/05 22:15:32 sashan Exp $ */
+/* $OpenBSD: pfctl.c,v 1.350 2017/09/26 20:23:32 sashan Exp $ */
/*
* Copyright (c) 2001 Daniel Hartmeier
@@ -2516,8 +2516,8 @@ main(int argc, char *argv[])
pfctl_clear_stats(dev, ifaceopt, opts);
break;
case 'a':
- pfctl_clear_rules(dev, opts, anchorname);
pfctl_clear_tables(anchorname, opts);
+ pfctl_clear_rules(dev, opts, anchorname);
if (ifaceopt && *ifaceopt) {
warnx("don't specify an interface with -Fall");
usage();