summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsunnyqeen <sunnyqeen@gmail.com>2020-04-22 14:55:59 +0200
committersunnyqeen <sunnyqeen@gmail.com>2020-05-14 00:10:18 +0200
commit3e26f34ad899f13ffbf379db0a4a682c951368ad (patch)
tree0db4e6138acf9a8676d679b87756c28b068d06f2
parent7cc22e1a654bb2ad0337cec8430a876e79b2b01e (diff)
luci-mod-admin-full: fixed ipv6 address display in the overview page of luci
Signed-off-by: sunnyqeen <sunnyqeen@gmail.com>
-rw-r--r--modules/luci-mod-admin-full/luasrc/view/admin_status/index.htm2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/luci-mod-admin-full/luasrc/view/admin_status/index.htm b/modules/luci-mod-admin-full/luasrc/view/admin_status/index.htm
index 29a03f2554..442495d80b 100644
--- a/modules/luci-mod-admin-full/luasrc/view/admin_status/index.htm
+++ b/modules/luci-mod-admin-full/luasrc/view/admin_status/index.htm
@@ -210,7 +210,7 @@
'<%:MAC-Address%>', (ifc6 && ifc6.ether) ? ifc6.mac : null)) ],
'<%:Protocol%>', ifc6.i18n ? (ifc6.i18n + (ifc6.proto === 'dhcp' && ifc6.ip6prefix ? '-PD' : '')) : E('em', '<%:Not connected%>'),
'<%:Prefix Delegated%>', ifc6.ip6prefix,
- '<%:Address%>', (ifc6.ip6prefix) ? (ifc6.ip6addr || null) : (ifc6.ipaddr || '::'),
+ '<%:Address%>', (ifc6.ip6prefix) ? (ifc6.ip6addr || null) : (ifc6.ip6addr || '::'),
'<%:Gateway%>', (ifc6.gw6addr) ? ifc6.gw6addr : '::',
'<%:DNS%> 1', (ifc6.dns) ? ifc6.dns[0] : null,
'<%:DNS%> 2', (ifc6.dns) ? ifc6.dns[1] : null,