mirror of https://github.com/aredn/aredn.git
bugfix: Set hidden flag on dtdlink host names so they do not show up in the "Remote Nodes" list.
This commit is contained in:
parent
c1de09455e
commit
243d5fc714
|
@ -97,6 +97,7 @@ foreach(`cat /var/run/hosts_olsr 2>/dev/null`)
|
||||||
if ( $name =~ /^dtdlink\..*$/ )
|
if ( $name =~ /^dtdlink\..*$/ )
|
||||||
{
|
{
|
||||||
$hosts{$ip}{name} = $name;
|
$hosts{$ip}{name} = $name;
|
||||||
|
$hosts{$ip}{hide} = 1;
|
||||||
next;
|
next;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue