From 3e26f34ad899f13ffbf379db0a4a682c951368ad Mon Sep 17 00:00:00 2001 From: sunnyqeen Date: Wed, 22 Apr 2020 14:55:59 +0200 Subject: [PATCH] luci-mod-admin-full: fixed ipv6 address display in the overview page of luci Signed-off-by: sunnyqeen --- modules/luci-mod-admin-full/luasrc/view/admin_status/index.htm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, -- 2.30.2