diff options
author | Jo-Philipp Wich <jo@mein.io> | 2019-07-10 07:13:00 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2019-07-10 07:15:02 +0200 |
commit | b5895e7c6367e17c23003e8e814cb2b169312556 (patch) | |
tree | eebeeec8ba662fba1f39fab5940af42c762d638b /modules/luci-mod-status/luasrc/view/admin_status/index.htm | |
parent | 66dfe64ca12c726571590a8552f4aea09a85ff9b (diff) |
luci-mod-status: show all interface addresses on index page
Insteado f displaying only the primary/delegated address, display all
configured IP addresses in the upstream interface boxes, similar to
the interface overview page.
Fixes: #2757
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'modules/luci-mod-status/luasrc/view/admin_status/index.htm')
-rw-r--r-- | modules/luci-mod-status/luasrc/view/admin_status/index.htm | 5 |
1 files changed, 2 insertions, 3 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 465226fe09..5b53e8ed34 100644 --- a/modules/luci-mod-status/luasrc/view/admin_status/index.htm +++ b/modules/luci-mod-status/luasrc/view/admin_status/index.htm @@ -61,9 +61,8 @@ local link = dev and ipc.link(dev:name()) local wan_info = { - ipaddr = v:ipaddr(), + ipaddrs = v:ipaddrs(), gwaddr = v:gwaddr(), - netmask = v:netmask(), dns = v:dnsaddrs(), expires = v:expires(), uptime = v:uptime(), @@ -90,7 +89,7 @@ local dev = v:get_interface() local link = dev and ipc.link(dev:name()) local wan6_info = { - ip6addr = v:ip6addr(), + ip6addrs = v:ip6addrs(), gw6addr = v:gw6addr(), dns = v:dns6addrs(), ip6prefix = v:ip6prefix(), |