diff --git a/luci-app-openmptcprouter/root/usr/libexec/rpcd/openmptcprouter b/luci-app-openmptcprouter/root/usr/libexec/rpcd/openmptcprouter index 556dd4e63..5fdb651a9 100755 --- a/luci-app-openmptcprouter/root/usr/libexec/rpcd/openmptcprouter +++ b/luci-app-openmptcprouter/root/usr/libexec/rpcd/openmptcprouter @@ -1078,26 +1078,24 @@ function interfaces_status() -- Detect if WAN get an IPv6 local ipv6_discover = "NONE" - if ifname ~= "" and ifname ~= nil and mArray.openmptcprouter["ipv6"] == "enabled" then - local ipv6_result = "" - local ipv6_result = _ipv6_discover(ifname) - if type(ipv6_result) == "table" and #ipv6_result > 0 then - local ipv6_addr_test - for k,v in ipairs(ipv6_result) do - if v.RecursiveDnsServer then - if type(v.RecursiveDnsServer) ~= "table" then - ipv6_addr_test = sys.exec("ip -6 addr | grep " .. v.RecursiveDnsServer) - if ipv6_addr_test == "" then - ipv6_discover = "DETECTED" - --if connectivity == "OK" then - -- connectivity = "WARNING" - --end - end - end - end - end - end - end + -- Disabled, seems to take a too much time in some case + -- if ifname ~= "" and ifname ~= nil and mArray.openmptcprouter["ipv6"] == "enabled" then + -- local ipv6_result = "" + -- local ipv6_result = _ipv6_discover(ifname) + -- if type(ipv6_result) == "table" and #ipv6_result > 0 then + -- local ipv6_addr_test + -- for k,v in ipairs(ipv6_result) do + -- if v.RecursiveDnsServer then + -- if type(v.RecursiveDnsServer) ~= "table" then + -- ipv6_addr_test = sys.exec("ip -6 addr | grep " .. v.RecursiveDnsServer) + -- if ipv6_addr_test == "" then + -- ipv6_discover = "DETECTED" + -- end + -- end + -- end + -- end + -- end + -- end local mtu = "" local whois = "" local publicIP = ""