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:
parent
887bad066b
commit
ccc1ce0491
1 changed files with 1 additions and 1 deletions
|
@ -983,7 +983,7 @@ function interfaces_status()
|
||||||
--if interface == "lo" then return end
|
--if interface == "lo" then return end
|
||||||
|
|
||||||
local ifname = get_device(interface)
|
local ifname = get_device(interface)
|
||||||
if ifname == "" then
|
if ifname == "" or ifname == nil then
|
||||||
ifname = section["ifname"] or ""
|
ifname = section["ifname"] or ""
|
||||||
end
|
end
|
||||||
duplicateif = false
|
duplicateif = false
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue