diff options
author | Jo-Philipp Wich <jo@mein.io> | 2018-09-20 03:41:15 +0300 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2018-09-20 08:45:05 +0200 |
commit | 99265f3f5984bac7f0ba6f2254ee5492581dcaae (patch) | |
tree | c70c05db8256aa19d27ffd80c272a41d89af6912 | |
parent | dedb72dbb97261609879c2d18ef3abb2ffb25f1d (diff) |
luci-mod-status: fix querying IPv6 address
Correct a typo that prevents displaying the interface IPv6 address in
some cases.
Fixes: #2166
Reported-by: Vladislav Grigoryev <20725816+vgaetera@users.noreply.github.com>
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
-rw-r--r-- | modules/luci-mod-status/luasrc/view/admin_status/index.htm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/luci-mod-status/luasrc/view/admin_status/index.htm b/modules/luci-mod-status/luasrc/view/admin_status/index.htm index 3edfd9204..54e35b82a 100644 --- a/modules/luci-mod-status/luasrc/view/admin_status/index.htm +++ b/modules/luci-mod-status/luasrc/view/admin_status/index.htm @@ -234,7 +234,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, |