Commit 0f337782 authored by Shashi Guruprasad's avatar Shashi Guruprasad
Browse files

Missed one place for queue size printing.

parent b81bbcaa
......@@ -338,7 +338,7 @@ if ($showlinks) {
if ($result->numrows) {
print "Virtual Queue Info:\n";
printf "%-15s %-15s %-10s %-7s %s\n",
printf "%-15s %-15s %-15s %-7s %s\n",
"ID", "Member", "Q Limit", "Type",
"weight/min_th/max_th/linterm";
print "--------------- --------------- ---------- ".
......@@ -348,8 +348,8 @@ if ($showlinks) {
$q_weight,$q_linterm,$q_qinbytes,$q_red,$q_gentle)
= $result->fetchrow_array()) {
printf("%-15s %-15s %-10s %-7s %s\n", $vname, $member,
$q_limit . ($q_qinbytes ? "b" : "s"),
printf("%-15s %-15s %-15s %-7s %s\n", $vname, $member,
$q_limit . ($q_qinbytes ? " bytes" : " slots"),
($q_red ? ($q_gentle ? "GRED" : "RED") : "Tail"),
($q_red ? "$q_weight/$q_minthresh/$q_maxthresh/$q_linterm" :
"0/0/0/0"));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment