From: Jo-Philipp Wich Date: Fri, 17 Jun 2011 12:36:38 +0000 (+0000) Subject: luci-0.10: merge r7168 X-Git-Tag: 0.10.0~118 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=c8324500a42b05c89063090e3530377c8123ebc1;p=oweals%2Fluci.git luci-0.10: merge r7168 --- diff --git a/modules/admin-full/luasrc/view/admin_status/routes.htm b/modules/admin-full/luasrc/view/admin_status/routes.htm index 52a80d98d..4e7287b70 100644 --- a/modules/admin-full/luasrc/view/admin_status/routes.htm +++ b/modules/admin-full/luasrc/view/admin_status/routes.htm @@ -58,15 +58,13 @@ $Id$ <%:Network%> <%:Target%> - <%_IPv4-Netmask%> <%_IPv4-Gateway%> <%:Metric%> <% luci.sys.net.routes(function(rt) %> <%=luci.tools.webadmin.iface_get_network(rt.device) or rt.device%> - <%=rt.dest:network():string()%> - <%=rt.dest:mask():string()%> + <%=rt.dest:string()%> <%=rt.gateway:string()%> <%=rt.metric%> @@ -76,7 +74,10 @@ $Id$
- <% if nixio.fs.access("/proc/net/ipv6_route") then style = true %> + <% if nixio.fs.access("/proc/net/ipv6_route") then + style = true + fe80 = luci.ip.IPv6("fe80::/10") + %>
<%_Active IPv6-Routes%> @@ -88,7 +89,7 @@ $Id$ <%_IPv6-Gateway%> <%:Metric%> - <% luci.sys.net.routes6(function(rt) %> + <% luci.sys.net.routes6(function(rt) if fe80:contains(rt.dest) then return end %> <%=luci.tools.webadmin.iface_get_network(rt.device) or '(' .. rt.device .. ')'%> <%=rt.dest:string()%>