diff --git a/files/www/cgi-bin/mesh b/files/www/cgi-bin/mesh index 0d820ec9..c8e4ff97 100755 --- a/files/www/cgi-bin/mesh +++ b/files/www/cgi-bin/mesh @@ -72,8 +72,9 @@ foreach(`echo /all | nc 127.0.0.1 2006 2>$tmperr`) if($table eq "Links") { - ($junk, $ip, $junk, $lq) = split /\s+/, $_; - $links{$ip} = $lq; + ($junk, $ip, $junk, $lq, $nlq) = split /\s+/, $_; + $links{$ip}{lq} = $lq; + $links{$ip}{nlq} = $nlq; } elsif($table eq "Neighbors") { @@ -384,8 +385,8 @@ print "
LQ | Services | ||||
---|---|---|---|---|---|
LQ | NLQ | Services | |||
%.0f%% | \n", 100*$links{$ip}; + $rows{$host} .= sprintf (" | %.0f%% | %.0f%% | \n", 100*$links{$ip}{lq}, 100*$links{$ip}{nlq});
foreach(sort keys %{$services{$host}}) { $rows{$host} .= " \n" } $rows{$host} .= " | \n";
@@ -434,7 +435,7 @@ else
print "|
When | |||||