modules/admin-full: new interface overview page, other template changes
[project/luci.git] / modules / admin-full / luasrc / view / admin_network / iface_status.htm
index c2790db..34e3ddd 100644 (file)
@@ -4,9 +4,8 @@
        var iwxhr = new XHR();
        (function() {
                iwxhr.get('<%=luci.dispatcher.build_url("admin", "network", "iface_status", self.network)%>', null,
-                       function(x)
+                       function(x, ifc)
                        {
-                               var ifc = x.responseText ? eval('(' + x.responseText + ')') : { };
                                if (ifc && (ifc = ifc[0]))
                                {
                                        var is_up = (ifc.flags && ifc.flags.up);
@@ -62,7 +61,7 @@
                                                                d.innerHTML += String.format(
                                                                        '%s%s/%d',
                                                                        i ? ', ' : '',
-                                                                       ifc.ip6addrs[i].addr,
+                                                                       ifc.ip6addrs[i].addr.toUpperCase(),
                                                                        ifc.ip6addrs[i].prefix
                                                                );