X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fluci.git;a=blobdiff_plain;f=modules%2Fadmin-full%2Fluasrc%2Fcontroller%2Fadmin%2Fnetwork.lua;h=759ad68a284fd60e4e771bfb9d00cce014a352ab;hp=5a102668df822a8463cbed87df78f2288bbbc18d;hb=c07e6a6976e5636b821c5ccfa650641cef2e6c31;hpb=1c10042f8c0cd55bcc90a98f1f62b31974179d4e diff --git a/modules/admin-full/luasrc/controller/admin/network.lua b/modules/admin-full/luasrc/controller/admin/network.lua index 5a102668d..759ad68a2 100644 --- a/modules/admin-full/luasrc/controller/admin/network.lua +++ b/modules/admin-full/luasrc/controller/admin/network.lua @@ -270,11 +270,13 @@ function iface_status() } end for _, a in ipairs(device:ip6addrs()) do - data.ip6addrs[#data.ip6addrs+1] = { - addr = a:host():string(), - netmask = a:mask():string(), - prefix = a:prefix() - } + if not a:is6linklocal() then + data.ip6addrs[#data.ip6addrs+1] = { + addr = a:host():string(), + netmask = a:mask():string(), + prefix = a:prefix() + } + end end for _, device in ipairs(net:get_interfaces() or {}) do