Fixes AREDN->118:Mesh Status links incoorect

This commit is contained in:
AE6XE 2015-06-14 23:06:32 -07:00
parent f1df364997
commit 4ce0e1e21d
1 changed files with 3 additions and 1 deletions

View File

@ -400,7 +400,9 @@ if(keys %links)
$tactical = $hosts{$ipmain}{tactical} ? " / " . $hosts{$ipmain}{tactical} : "";
if ( $rows{$host} ) { $host .= " " ; } # avoid collision 2 links to same host {rf, dtd}
$rows{$host} = sprintf "<tr><td valign=top><nobr><a href='http://%s:8080/'>%s</a>", $host, $host . $tactical;
$no_space_host=$host;
$no_space_host =~ s/\s+$//;
$rows{$host} = sprintf "<tr><td valign=top><nobr><a href='http://%s:8080/'>%s</a>", $no_space_host, $no_space_host . $tactical;
undef $nodeiface;
if ( $ipmain ne $ip ) # indicate if dtd or tunnel interface to neighbor