summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-base
diff options
context:
space:
mode:
Diffstat (limited to 'modules/luci-base')
-rw-r--r--modules/luci-base/luasrc/model/network.lua8
1 files changed, 8 insertions, 0 deletions
diff --git a/modules/luci-base/luasrc/model/network.lua b/modules/luci-base/luasrc/model/network.lua
index 7f7397032..49e1657aa 100644
--- a/modules/luci-base/luasrc/model/network.lua
+++ b/modules/luci-base/luasrc/model/network.lua
@@ -855,6 +855,14 @@ function get_status_by_address(self, addr)
end
end
end
+ if s and s['ipv6-prefix-assignment'] then
+ local a
+ for _, a in ipairs(s['ipv6-prefix-assignment']) do
+ if a and a['local-address'] and a['local-address'].address == addr then
+ return net, s
+ end
+ end
+ end
end
end
end