diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2003-01-09 18:34:30 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2003-01-09 18:34:30 +0000 |
commit | 7c834a600006fbb3cdcfb9ade2271b1f65b928d4 (patch) | |
tree | be1a2b02b3bb08179952ee6009b08f3ccd1cde10 /sbin/pfctl/pfctl.c | |
parent | 712bc9000d147cba1ce6c4b3215fc3bd4cc4f674 (diff) |
use a verbose flag in pfctl_show_altq instead of carrying around opts from
pfctl.c, and get rid of the #include "pfctl_parser.h"
Diffstat (limited to 'sbin/pfctl/pfctl.c')
-rw-r--r-- | sbin/pfctl/pfctl.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/pfctl/pfctl.c b/sbin/pfctl/pfctl.c index ded52ec4e3d..eac96cb1408 100644 --- a/sbin/pfctl/pfctl.c +++ b/sbin/pfctl/pfctl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pfctl.c,v 1.127 2003/01/09 17:33:19 henning Exp $ */ +/* $OpenBSD: pfctl.c,v 1.128 2003/01/09 18:34:29 henning Exp $ */ /* * Copyright (c) 2001 Daniel Hartmeier @@ -1436,7 +1436,7 @@ main(int argc, char *argv[]) pfctl_show_nat(dev, opts); break; case 'q': - pfctl_show_altq(dev, opts); + pfctl_show_altq(dev, opts & PF_OPT_VERBOSE); break; case 's': pfctl_show_states(dev, 0, opts); @@ -1453,7 +1453,7 @@ main(int argc, char *argv[]) case 'a': pfctl_show_rules(dev, opts, 0); pfctl_show_nat(dev, opts); - pfctl_show_altq(dev, opts); + pfctl_show_altq(dev, opts & PF_OPT_VERBOSE); pfctl_show_states(dev, 0, opts); pfctl_show_status(dev); pfctl_show_rules(dev, opts, 1); |