1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-03-09 15:40:03 +00:00

Fix status page

This commit is contained in:
Ycarus (Yannick Chabanois) 2019-07-24 17:11:54 +02:00
parent 887bad066b
commit ccc1ce0491

View file

@ -983,7 +983,7 @@ function interfaces_status()
--if interface == "lo" then return end
local ifname = get_device(interface)
if ifname == "" then
if ifname == "" or ifname == nil then
ifname = section["ifname"] or ""
end
duplicateif = false