summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2010-01-21 22:06:48 -0800
committerStephen Hemminger <stephen.hemminger@vyatta.com>2010-01-21 22:06:48 -0800
commit1b0d1d1e0ea3501b65e1b855f491d73c4eb7245d (patch)
treec81f129910fd1ecf4b2a8cc4329a5eec8d451b7a
parentb3dd9285954617ef62689b1ed2d157f602ae23a0 (diff)
downloadvyatta-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-xscripts/vyatta-show-queueing.pl5
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 );
}