aboutsummaryrefslogtreecommitdiff
path: root/sbin/pfctl/pfctl.c
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/pfctl/pfctl.c')
-rw-r--r--sbin/pfctl/pfctl.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sbin/pfctl/pfctl.c b/sbin/pfctl/pfctl.c
index f35baf25ec35..c349487ed9d2 100644
--- a/sbin/pfctl/pfctl.c
+++ b/sbin/pfctl/pfctl.c
@@ -1996,6 +1996,9 @@ pfctl_show_states(int dev, const char *iface, int opts)
if (iface != NULL)
strlcpy(filter.ifname, iface, IFNAMSIZ);
+ if (opts & PF_OPT_VERBOSE2)
+ filter.include_rule = true;
+
arg.opts = opts;
arg.dotitle = opts & PF_OPT_SHOWALL;
arg.iface = iface;