From 4ce0e1e21d46107697b5913c868c9538ccdb2da8 Mon Sep 17 00:00:00 2001 From: AE6XE Date: Sun, 14 Jun 2015 23:06:32 -0700 Subject: [PATCH] Fixes AREDN->118:Mesh Status links incoorect --- files/www/cgi-bin/mesh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/files/www/cgi-bin/mesh b/files/www/cgi-bin/mesh index 7c9c76c9..2bf7bca6 100755 --- a/files/www/cgi-bin/mesh +++ b/files/www/cgi-bin/mesh @@ -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 "%s", $host, $host . $tactical; + $no_space_host=$host; + $no_space_host =~ s/\s+$//; + $rows{$host} = sprintf "%s", $no_space_host, $no_space_host . $tactical; undef $nodeiface; if ( $ipmain ne $ip ) # indicate if dtd or tunnel interface to neighbor