diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2003-04-15 11:29:25 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2003-04-15 11:29:25 +0000 |
commit | 5643b3f4f7e9253a0034f792ffe5ecc9b96d7d04 (patch) | |
tree | 00d5fe51ece7bf00ee7e418939238ea8b0eaf84a /sbin/pfctl/pfctl_qstats.c | |
parent | 8b714839ef02ff6c3747968d192518e27c83c61a (diff) |
pass down the unparsed queue opts (struct node_queue_opt) to
print_altq/print_hfsc -> print_hfsc_opts and extract struct node_hfsc_sc
there for each service curve and pass those down to print_hfsc_sc. now
bandwidth specifications in the service curves are printed correct in the
case of a queue belonging to more than one interface/parent queue, the
parent queues having different bandwidths and the bandwith on teh service
curve beeing specified in percent.
Diffstat (limited to 'sbin/pfctl/pfctl_qstats.c')
-rw-r--r-- | sbin/pfctl/pfctl_qstats.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/pfctl/pfctl_qstats.c b/sbin/pfctl/pfctl_qstats.c index b038d084b18..12dc1615043 100644 --- a/sbin/pfctl/pfctl_qstats.c +++ b/sbin/pfctl/pfctl_qstats.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pfctl_qstats.c,v 1.16 2003/04/14 14:50:46 henning Exp $ */ +/* $OpenBSD: pfctl_qstats.c,v 1.17 2003/04/15 11:29:24 henning Exp $ */ /* * Copyright (c) 2003 Henning Brauer @@ -229,7 +229,7 @@ pfctl_print_altq_node(int dev, const struct pf_altq_node *node, unsigned level, if (node == NULL) return; - print_altq(&node->altq, level, NULL); + print_altq(&node->altq, level, NULL, NULL); if (node->children != NULL) { printf("{"); |