diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2010-01-21 22:06:48 -0800 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2010-01-21 22:06:48 -0800 |
commit | 1b0d1d1e0ea3501b65e1b855f491d73c4eb7245d (patch) | |
tree | c81f129910fd1ecf4b2a8cc4329a5eec8d451b7a | |
parent | b3dd9285954617ef62689b1ed2d157f602ae23a0 (diff) | |
download | vyatta-op-qos-1b0d1d1e0ea3501b65e1b855f491d73c4eb7245d.tar.gz vyatta-op-qos-1b0d1d1e0ea3501b65e1b855f491d73c4eb7245d.zip |
Show queueing for interfaces with no output queue
Bug 5245
show-queuing script did not handle case where only ingress
is used.
-rwxr-xr-x | scripts/vyatta-show-queueing.pl | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/scripts/vyatta-show-queueing.pl b/scripts/vyatta-show-queueing.pl index 47b6b74..d7679ad 100755 --- a/scripts/vyatta-show-queueing.pl +++ b/scripts/vyatta-show-queueing.pl @@ -299,10 +299,7 @@ sub show { my $interface = shift; my ( $root, $qdisc ) = get_qdisc($interface); - # if no queuing then no output - return unless defined $root; - - show_queues( $interface, $root, $qdisc ); + show_queues( $interface, $root, $qdisc ) if $root; show_queues( $interface, $INGRESS, $qdisc ); } |