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

Don't mark ERROR when "duplicateif" is true

This commit is contained in:
lars18th 2019-02-21 20:48:29 +01:00 committed by GitHub
parent 84626a7335
commit fb31f9ea9e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -895,7 +895,7 @@ function interfaces_status()
duplicateif = false duplicateif = false
if ifname ~= "" and ifname ~= nil then if ifname ~= "" and ifname ~= nil then
if allintf[ifname] then if allintf[ifname] then
connectivity = "ERROR" --connectivity = "ERROR"
duplicateif = true duplicateif = true
else else
allintf[ifname] = true allintf[ifname] = true
@ -1199,4 +1199,4 @@ function set_ipv6_state(disable_ipv6)
-- luci.sys.exec("/etc/init.d/odhcpd start >/dev/null 2>&1") -- luci.sys.exec("/etc/init.d/odhcpd start >/dev/null 2>&1")
-- luci.sys.exec("/etc/init.d/odhcpd enable >/dev/null 2>&1") -- luci.sys.exec("/etc/init.d/odhcpd enable >/dev/null 2>&1")
--end --end
end end