mirror of https://github.com/aredn/aredn.git
Fix active tunnel indicator for tunnel server (#277)
This commit is contained in:
parent
7a5d15fd09
commit
66ee2fc9a2
|
@ -589,7 +589,7 @@ if config == "mesh" then
|
|||
html.print("<td rowspan='2' class='tun_client_center_item'> " .. fullnet)
|
||||
html.print("<input type=hidden name=client" .. val .. "_netip value='" .. fullnet .. "'/></td>")
|
||||
html.print("<td rowspan='2' class='tun_client_center_item' align=center> ")
|
||||
if val ~= "_add" and is_tunnel_active(val, active_tun) then
|
||||
if val ~= "_add" and is_tunnel_active(fullnet, active_tun) then
|
||||
html.print("<img class='tun_client_active_img' src='/connected.png' title='Connected' />")
|
||||
else
|
||||
html.print("<img class='tun_client_inactive_img' src='/disconnected.png' title='Not connected' />")
|
||||
|
|
Loading…
Reference in New Issue