Merge branch 'MeshStatBugFix' into develop

This commit is contained in:
AE6XE 2015-04-29 23:30:23 -07:00
commit 88495ae0de
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;
}
}