mirror of https://github.com/aredn/aredn.git
bugfix: fixes AREDN->ticket:128 remote neighbor incorrectly shown as having tunnel
This commit is contained in:
parent
f915225459
commit
9481c21db6
|
@ -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" ; }
|
||||
|
||||
|
|
Loading…
Reference in New Issue