mirror of https://github.com/aredn/aredn.git
Change OLSR Status button to use node FQDN
This commit is contained in:
parent
a2944c7e30
commit
7c22853a17
|
@ -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 " ";
|
print " ";
|
||||||
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";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue