From fb31f9ea9ee1e5f9b93cc7ab7d0bad9cf785910e Mon Sep 17 00:00:00 2001 From: lars18th Date: Thu, 21 Feb 2019 20:48:29 +0100 Subject: [PATCH] Don't mark ERROR when "duplicateif" is true --- .../luasrc/controller/openmptcprouter.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/luci-app-openmptcprouter/luasrc/controller/openmptcprouter.lua b/luci-app-openmptcprouter/luasrc/controller/openmptcprouter.lua index 58a48808c..d8162cf62 100644 --- a/luci-app-openmptcprouter/luasrc/controller/openmptcprouter.lua +++ b/luci-app-openmptcprouter/luasrc/controller/openmptcprouter.lua @@ -895,7 +895,7 @@ function interfaces_status() duplicateif = false if ifname ~= "" and ifname ~= nil then if allintf[ifname] then - connectivity = "ERROR" + --connectivity = "ERROR" duplicateif = true else 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 enable >/dev/null 2>&1") --end -end \ No newline at end of file +end