diff options
author | Stuart Henderson <sthen@cvs.openbsd.org> | 2010-07-13 13:11:58 +0000 |
---|---|---|
committer | Stuart Henderson <sthen@cvs.openbsd.org> | 2010-07-13 13:11:58 +0000 |
commit | d37866b54c47fd87c388f45a22ca43b60ac04f42 (patch) | |
tree | 81ae873118254a63b56e6e79ac6005bc46c67178 /sbin | |
parent | 98d3d1f756c63784b90ea92a33a2c07b3903a543 (diff) |
Fix (pflow) display in rule printing. Spotted by dhill@, ok henning@
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/pfctl/pfctl_parser.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sbin/pfctl/pfctl_parser.c b/sbin/pfctl/pfctl_parser.c index 38db748eafd..8fb8e849751 100644 --- a/sbin/pfctl/pfctl_parser.c +++ b/sbin/pfctl/pfctl_parser.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pfctl_parser.c,v 1.268 2010/07/03 02:28:57 mcbride Exp $ */ +/* $OpenBSD: pfctl_parser.c,v 1.269 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; |