summaryrefslogtreecommitdiff
path: root/sbin/pfctl/pfctl_parser.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2004-12-07 09:38:05 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2004-12-07 09:38:05 +0000
commit244b4bb0de36cfae48238cf7f7255da538345133 (patch)
tree774101d4f4c0082df35b9319825c2668dc9e2889 /sbin/pfctl/pfctl_parser.c
parentffcf866cd2eade2f8c3b4cf1340e449977f6b218 (diff)
oops, incomplete backout
Diffstat (limited to 'sbin/pfctl/pfctl_parser.c')
-rw-r--r--sbin/pfctl/pfctl_parser.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/sbin/pfctl/pfctl_parser.c b/sbin/pfctl/pfctl_parser.c
index 748f23b1c02..033d9ca4134 100644
--- a/sbin/pfctl/pfctl_parser.c
+++ b/sbin/pfctl/pfctl_parser.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pfctl_parser.c,v 1.209 2004/12/07 05:30:27 mcbride Exp $ */
+/* $OpenBSD: pfctl_parser.c,v 1.210 2004/12/07 09:38:04 deraadt Exp $ */
/*
* Copyright (c) 2001 Daniel Hartmeier
@@ -877,10 +877,8 @@ print_rule(struct pf_rule *r, const char *anchor_call, int verbose)
if (!opts)
printf(", ");
printf("overload <%s>", r->overload_tblname);
- if (r->flush)
+ if (r->rule_flag & PFRULE_SRCTRACK_FLUSH)
printf(" flush");
- if (r->flush & PF_FLUSH_GLOBAL)
- printf(" global");
}
if (r->rule_flag & PFRULE_IFBOUND) {
if (!opts)