bugfix: fixes AREDN->ticket:128 remote neighbor incorrectly shown as having tunnel

This commit is contained in:
AE6XE 2015-06-21 22:06:40 -07:00
parent f915225459
commit 9481c21db6
1 changed files with 1 additions and 0 deletions

View File

@ -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" ; }