summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRick Balocca <rbalocca@vyatta.com>2008-11-17 12:34:31 -0800
committerRick Balocca <rbalocca@vyatta.com>2008-11-17 12:34:31 -0800
commit8ead253afe7022bfaed5be31562317053d4c5c18 (patch)
tree02fff5bec7652c42493094218257c462980bc42e
parent2ce0f33d92163af8f53290fcd7ec2b91e146e1ee (diff)
parent3f332e33989ce255e7155a38f5631620365ff176 (diff)
downloadvyatta-op-qos-8ead253afe7022bfaed5be31562317053d4c5c18.tar.gz
vyatta-op-qos-8ead253afe7022bfaed5be31562317053d4c5c18.zip
Merge branch 'islavista' into jenner
-rwxr-xr-xscripts/vyatta-show-queueing.pl7
1 files changed, 4 insertions, 3 deletions
diff --git a/scripts/vyatta-show-queueing.pl b/scripts/vyatta-show-queueing.pl
index 6aaee57..826290f 100755
--- a/scripts/vyatta-show-queueing.pl
+++ b/scripts/vyatta-show-queueing.pl
@@ -186,7 +186,7 @@ sub show {
if ($qid eq 'ffff:') {
# print ingress later
- @ingress = ($id, $shaper, $sent, $drop, $over);
+ @ingress = ($shaper, $sent, $drop, $over);
next;
}
@@ -203,8 +203,9 @@ sub show {
close $tc;
if (@ingress) {
- print "$interface Input:\n";
- printf $fmt, 'Class', 'Qos-Policy', 'Received','Dropped','Overlimit';
+ print "\n$interface Input:\n";
+ $fmt = "%-16s %-10s %-10s %-10s\n";
+ printf $fmt, 'Qos-Policy', 'Received','Dropped','Overlimit';
printf $fmt, @ingress;
}
}