Change OLSR Status button to use node FQDN

This commit is contained in:
Conrad Lara - KG6JEI 2015-01-23 18:30:39 -08:00
parent a2944c7e30
commit 7c22853a17
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ if($config eq "mesh")
print "   "; print "   ";
print "<button type=button onClick='window.location=\"mesh\"' title='See what is on the mesh'>Mesh Status</button>\n"; print "<button type=button onClick='window.location=\"mesh\"' title='See what is on the mesh'>Mesh Status</button>\n";
print "&nbsp;&nbsp;&nbsp;"; print "&nbsp;&nbsp;&nbsp;";
print "<button type=button onClick='window.location=\"http://$node:1978/\"' title='See the OLSR routing details'"; print "<button type=button onClick='window.location=\"http://${node}.local.mesh:1978/\"' title='See the OLSR routing details'";
#print " disabled" unless -f "/var/run/hosts_olsr"; #print " disabled" unless -f "/var/run/hosts_olsr";
print ">OLSR Status</button>\n"; print ">OLSR Status</button>\n";
} }