summaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2002-12-06 11:03:37 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2002-12-06 11:03:37 +0000
commit6e61cedfceab627bf63833ddb717e7289c2132a1 (patch)
treede27d41680cdabff400a43331f7a8c425c68b347 /sbin
parent0f9b0e7f472846c2fd35288aede0f8db6498c09c (diff)
let pfctl -v print out "block drop" instead of just "block" in the drop
case. fixes the last self-regress test. ok markus@
Diffstat (limited to 'sbin')
-rw-r--r--sbin/pfctl/pfctl_parser.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sbin/pfctl/pfctl_parser.c b/sbin/pfctl/pfctl_parser.c
index 25984b2d228..94d4da587e2 100644
--- a/sbin/pfctl/pfctl_parser.c
+++ b/sbin/pfctl/pfctl_parser.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pfctl_parser.c,v 1.117 2002/12/06 00:47:32 dhartmei Exp $ */
+/* $OpenBSD: pfctl_parser.c,v 1.118 2002/12/06 11:03:36 henning Exp $ */
/*
* Copyright (c) 2001 Daniel Hartmeier
@@ -755,7 +755,8 @@ print_rule(struct pf_rule *r, int verbose)
printf("%s) ", ic6->name);
break;
}
- }
+ } else
+ printf("drop ");
} else {
printf("scrub ");
}