BUGFIX: Mesh Status missing some advertised service links or names

This commit is contained in:
AE6XE 2015-04-29 23:29:25 -07:00
parent cb3e1423b6
commit ece70e2f63
1 changed files with 8 additions and 0 deletions

View File

@ -118,6 +118,10 @@ foreach(`cat /etc/hosts`)
}
else
{
if ( $name !~ /\./ )
{
$name="${name}.local.mesh";
}
push @{$localhosts{$my_ip}{hosts}}, $name;
}
}
@ -153,6 +157,10 @@ foreach(`cat /var/run/hosts_olsr 2>/dev/null`)
}
else
{
if ( $name !~ /\./ )
{
$name="${name}.local.mesh";
}
push @{$hosts{$originator}{hosts}}, $name;
}
}