diff --git a/files/www/cgi-bin/status b/files/www/cgi-bin/status index 4d8b249c..d6dd5de5 100755 --- a/files/www/cgi-bin/status +++ b/files/www/cgi-bin/status @@ -284,7 +284,7 @@ html.print("  ") html.print("") -html.print("") html.print("") @@ -360,7 +360,11 @@ local wan_iface = aredn.hardware.get_iface_name("wan") if wan_iface and not hide_local then local ip, bcast, mask = aredn.hardware.get_interface_ip4(wan_iface) if not ip then - col1[#col1 + 1] = "WAN address:
default gateway:
gateway node:none
" .. wifi_gw .. "
" .. mesh_ip_to_hostnames(wifi_gw) .. "" + if not wifi_gw or wifi_gw == "none" then + col1[#col1 + 1] = "WAN address:
default gateway:none
none" + else + col1[#col1 + 1] = "WAN address:
default gateway:
gateway node:none
" .. wifi_gw .. "
" .. mesh_ip_to_hostnames(wifi_gw) .. "" + end else local wprefix = "" local wan_wifi_snr = "none"