summaryrefslogtreecommitdiff
path: root/pfctl/pfctl_parser.c
diff options
context:
space:
mode:
authorMax Laier <mlaier@FreeBSD.org>2009-08-18 16:13:59 +0000
committerMax Laier <mlaier@FreeBSD.org>2009-08-18 16:13:59 +0000
commit739de636d7c95255cef4fc68a2c80cd8af54e502 (patch)
tree5fe04cbe5c5d58503b8de083ec567a80fad7da80 /pfctl/pfctl_parser.c
parent89a3159080a774bd9de50eaf1861a1f0c1657a9f (diff)
Notes
Diffstat (limited to 'pfctl/pfctl_parser.c')
-rw-r--r--pfctl/pfctl_parser.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/pfctl/pfctl_parser.c b/pfctl/pfctl_parser.c
index 7368dbe7d3c4..a9141840fb8e 100644
--- a/pfctl/pfctl_parser.c
+++ b/pfctl/pfctl_parser.c
@@ -934,6 +934,12 @@ print_rule(struct pf_rule *r, const char *anchor_call, int verbose)
printf("sloppy");
opts = 0;
}
+ if (r->rule_flag & PFRULE_PFLOW) {
+ if (!opts)
+ printf(", ");
+ printf("pflow");
+ opts = 0;
+ }
for (i = 0; i < PFTM_MAX; ++i)
if (r->timeout[i]) {
int j;