mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
No error of same mac for vlan in status page
This commit is contained in:
parent
1cafd546c4
commit
50462b9980
1 changed files with 1 additions and 1 deletions
|
@ -1159,7 +1159,7 @@ function interfaces_status()
|
||||||
end
|
end
|
||||||
|
|
||||||
duplicatemac = false
|
duplicatemac = false
|
||||||
if mac ~= "" and mac ~= nil and not (section["device"] ~= nil and section["device"]:match("^@.*")) then
|
if mac ~= "" and mac ~= nil and not (section["device"] ~= nil and section["device"]:match("^@.*")) and not (ifname ~= nil and ifname:match("%.")) then
|
||||||
if allmac[mac] then
|
if allmac[mac] then
|
||||||
connectivity = "ERROR"
|
connectivity = "ERROR"
|
||||||
duplicatemac = true
|
duplicatemac = true
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue