projects
/
project
/
luci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #1026 from danrl/mwan
[project/luci.git]
/
modules
/
luci-mod-admin-full
/
luasrc
/
view
/
admin_network
/
iface_overview.htm
diff --git
a/modules/luci-mod-admin-full/luasrc/view/admin_network/iface_overview.htm
b/modules/luci-mod-admin-full/luasrc/view/admin_network/iface_overview.htm
index
b222cbc
..
2512a35
100644
(file)
--- a/
modules/luci-mod-admin-full/luasrc/view/admin_network/iface_overview.htm
+++ b/
modules/luci-mod-admin-full/luasrc/view/admin_network/iface_overview.htm
@@
-149,30
+149,25
@@
if (ifc.ipaddrs && ifc.ipaddrs.length)
{
if (ifc.ipaddrs && ifc.ipaddrs.length)
{
- html += '<strong><%:IPv4%>: </strong>';
-
for (var i = 0; i < ifc.ipaddrs.length; i++)
html += String.format(
for (var i = 0; i < ifc.ipaddrs.length; i++)
html += String.format(
- '%s%s',
- i ? ', ' : '',
+ '<strong><%:IPv4%>:</strong> %s<br />',
ifc.ipaddrs[i]
);
ifc.ipaddrs[i]
);
-
- html += '<br />';
}
if (ifc.ip6addrs && ifc.ip6addrs.length)
{
}
if (ifc.ip6addrs && ifc.ip6addrs.length)
{
- html += '<strong><%:IPv6%>: </strong>';
-
for (var i = 0; i < ifc.ip6addrs.length; i++)
html += String.format(
for (var i = 0; i < ifc.ip6addrs.length; i++)
html += String.format(
- '%s%s',
- i ? ', ' : '',
- ifc.ip6addrs[i].toUpperCase()
+ '<strong><%:IPv6%>:</strong> %s<br />',
+ ifc.ip6addrs[i]
);
);
-
- html += '<br />';
+ }
+
+ if (ifc.ip6prefix)
+ {
+ html += String.format('<strong><%:IPv6-PD%>:</strong> %s<br />', ifc.ip6prefix);
}
d.innerHTML = html;
}
d.innerHTML = html;