mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-02-12 18:41:51 +00:00
Fix status page when proto is modemmanager
This commit is contained in:
parent
eb87da4feb
commit
a4d9f6dd39
1 changed files with 1 additions and 1 deletions
|
@ -1160,7 +1160,7 @@ function interfaces_status()
|
|||
--end
|
||||
|
||||
duplicateif = false
|
||||
if ifname ~= "" and ifname ~= nil and not (section["device"] ~= nil and section["device"]:match("^@.*")) then
|
||||
if ifname ~= "" and ifname ~= nil and not (section["device"] ~= nil and section["device"]:match("^@.*")) and (proto == "static" or proto == "dhcp") then
|
||||
if allintf[ifname] then
|
||||
connectivity = "ERROR"
|
||||
duplicateif = true
|
||||
|
|
Loading…
Reference in a new issue