artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7950792
)
Fix (pflow) display in rule printing. Spotted by dhill@, ok henning@
author
sthen
<sthen@openbsd.org>
Tue, 13 Jul 2010 13:11:57 +0000
(13:11 +0000)
committer
sthen
<sthen@openbsd.org>
Tue, 13 Jul 2010 13:11:57 +0000
(13:11 +0000)
sbin/pfctl/pfctl_parser.c
patch
|
blob
|
history
diff --git
a/sbin/pfctl/pfctl_parser.c
b/sbin/pfctl/pfctl_parser.c
index
38db748
..
8fb8e84
100644
(file)
--- a/
sbin/pfctl/pfctl_parser.c
+++ b/
sbin/pfctl/pfctl_parser.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: pfctl_parser.c,v 1.26
8 2010/07/03 02:28:57 mcbride
Exp $ */
+/* $OpenBSD: pfctl_parser.c,v 1.26
9 2010/07/13 13:11:57 sthen
Exp $ */
/*
* Copyright (c) 2001 Daniel Hartmeier
@@
-861,6
+861,8
@@
print_rule(struct pf_rule *r, const char *anchor_call, int verbose)
opts = 1;
if (r->rule_flag & PFRULE_STATESLOPPY)
opts = 1;
+ if (r->rule_flag & PFRULE_PFLOW)
+ opts = 1;
for (i = 0; !opts && i < PFTM_MAX; ++i)
if (r->timeout[i])
opts = 1;