summaryrefslogtreecommitdiffstats
path: root/sbin/pfctl/pfctl_parser.c
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2015-08-17 13:53:19 -0300
committerRenato Botelho <renato@netgate.com>2015-08-17 13:53:19 -0300
commit9068fb423dfecae0f8b611d4bc558dd6cb2e2bd7 (patch)
tree246d856ac77f797ca9a5cd48ef76486c2551dce4 /sbin/pfctl/pfctl_parser.c
parent7da7fbdc309d0d0420c1edc5a0dc6819fb87f828 (diff)
downloadFreeBSD-src-9068fb423dfecae0f8b611d4bc558dd6cb2e2bd7.zip
FreeBSD-src-9068fb423dfecae0f8b611d4bc558dd6cb2e2bd7.tar.gz
Importing pfSense patch pf_static_tracker.diff
Diffstat (limited to 'sbin/pfctl/pfctl_parser.c')
-rw-r--r--sbin/pfctl/pfctl_parser.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sbin/pfctl/pfctl_parser.c b/sbin/pfctl/pfctl_parser.c
index b4fe20a..5b03a93 100644
--- a/sbin/pfctl/pfctl_parser.c
+++ b/sbin/pfctl/pfctl_parser.c
@@ -736,7 +736,11 @@ print_rule(struct pf_rule *r, const char *anchor_call, int verbose, int numeric)
int i, opts;
if (verbose)
+#ifdef PF_USER_INFO
printf("@%d ", r->nr);
+#else
+ printf("@%d(%u) ", r->nr, r->cuid);
+#endif
if (r->action == PF_MATCH)
printf("match");
else if (r->action > PF_NORDR)
OpenPOWER on IntegriCloud