From 9481c21db6565d4d3fb9d6f2af6c680bd58e6dfa Mon Sep 17 00:00:00 2001 From: AE6XE Date: Sun, 21 Jun 2015 22:06:40 -0700 Subject: [PATCH] bugfix: fixes AREDN->ticket:128 remote neighbor incorrectly shown as having tunnel --- files/www/cgi-bin/mesh | 1 + 1 file changed, 1 insertion(+) diff --git a/files/www/cgi-bin/mesh b/files/www/cgi-bin/mesh index 2bf7bca6..c1cc28d4 100755 --- a/files/www/cgi-bin/mesh +++ b/files/www/cgi-bin/mesh @@ -346,6 +346,7 @@ foreach $ip (keys %hosts) $nodeiface = "dtd"; if ( $midcount{$ip} ) { $midcount{$ip} -= 1; } # extra mid entry matching and with dtdlink in hosts_olsrd } + if ( $hosts{$ip}{tactical} ) { $midcount{$ip} -= 1; } # extra mid entry if tactical name defined if ( $midcount{$ip} ) { $nodeiface = $nodeiface ? "dtd," . "tun*$midcount{$ip}" : "tun*$midcount{$ip}" ; } if ( $wangateway{$ip} ) { $nodeiface = $nodeiface ? $nodeiface . ",wan" : "wan" ; }