summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-mod-network/htdocs/luci-static
diff options
context:
space:
mode:
Diffstat (limited to 'modules/luci-mod-network/htdocs/luci-static')
-rw-r--r--modules/luci-mod-network/htdocs/luci-static/resources/view/network/iface_status.js6
-rw-r--r--modules/luci-mod-network/htdocs/luci-static/resources/view/network/network.js6
2 files changed, 10 insertions, 2 deletions
diff --git a/modules/luci-mod-network/htdocs/luci-static/resources/view/network/iface_status.js b/modules/luci-mod-network/htdocs/luci-static/resources/view/network/iface_status.js
index 88f48d189a..dbde0beab2 100644
--- a/modules/luci-mod-network/htdocs/luci-static/resources/view/network/iface_status.js
+++ b/modules/luci-mod-network/htdocs/luci-static/resources/view/network/iface_status.js
@@ -30,7 +30,11 @@ requestAnimationFrame(function() {
_('IPv6'), ifc.ip6addrs ? ifc.ip6addrs[7] : null,
_('IPv6'), ifc.ip6addrs ? ifc.ip6addrs[8] : null,
_('IPv6'), ifc.ip6addrs ? ifc.ip6addrs[9] : null,
- _('IPv6-PD'), ifc.ip6prefix,
+ _('IPv6-PD'), ifc.ip6prefixes ? ifc.ip6prefixes[0] : null,
+ _('IPv6-PD'), ifc.ip6prefixes ? ifc.ip6prefixes[1] : null,
+ _('IPv6-PD'), ifc.ip6prefixes ? ifc.ip6prefixes[2] : null,
+ _('IPv6-PD'), ifc.ip6prefixes ? ifc.ip6prefixes[3] : null,
+ _('IPv6-PD'), ifc.ip6prefixes ? ifc.ip6prefixes[4] : null,
null, ifc.ifname ? null : E('em', _('Interface not present or not connected yet.'))
]);
diff --git a/modules/luci-mod-network/htdocs/luci-static/resources/view/network/network.js b/modules/luci-mod-network/htdocs/luci-static/resources/view/network/network.js
index acca7cf8a5..4bce1ecb89 100644
--- a/modules/luci-mod-network/htdocs/luci-static/resources/view/network/network.js
+++ b/modules/luci-mod-network/htdocs/luci-static/resources/view/network/network.js
@@ -101,7 +101,11 @@ L.poll(5, L.url('admin/network/iface_status', networks.join(',')), null,
_('IPv6'), ifc.ip6addrs ? ifc.ip6addrs[7] : null,
_('IPv6'), ifc.ip6addrs ? ifc.ip6addrs[8] : null,
_('IPv6'), ifc.ip6addrs ? ifc.ip6addrs[9] : null,
- _('IPv6-PD'), ifc.ip6prefix,
+ _('IPv6-PD'), ifc.ip6prefixes ? ifc.ip6prefixes[0] : null,
+ _('IPv6-PD'), ifc.ip6prefixes ? ifc.ip6prefixes[1] : null,
+ _('IPv6-PD'), ifc.ip6prefixes ? ifc.ip6prefixes[2] : null,
+ _('IPv6-PD'), ifc.ip6prefixes ? ifc.ip6prefixes[3] : null,
+ _('IPv6-PD'), ifc.ip6prefixes ? ifc.ip6prefixes[4] : null,
_('Error'), ifc.errors ? ifc.errors[0] : null,
_('Error'), ifc.errors ? ifc.errors[1] : null,
_('Error'), ifc.errors ? ifc.errors[2] : null,