diff options
-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 ); } |