From 32be6cea9305168b303d1e54ec3e658826725ef2 Mon Sep 17 00:00:00 2001 From: Manuel Munz Date: Sun, 13 Nov 2011 12:34:09 +0000 Subject: applications/luci-olsr: Fix rowstyle, make html valid --- applications/luci-olsr/luasrc/view/status-olsr/interfaces.htm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'applications/luci-olsr/luasrc/view/status-olsr/interfaces.htm') diff --git a/applications/luci-olsr/luasrc/view/status-olsr/interfaces.htm b/applications/luci-olsr/luasrc/view/status-olsr/interfaces.htm index 2d3ff876ab..17090ff4aa 100644 --- a/applications/luci-olsr/luasrc/view/status-olsr/interfaces.htm +++ b/applications/luci-olsr/luasrc/view/status-olsr/interfaces.htm @@ -47,7 +47,7 @@ local i = 1 <%=iface.Mask%> <%=iface["Dst-Adress"]%> - <% if i == 1 then i = 0 elseif i == 0 then i = 1 end + <% i = ((i % 2) + 1) end %> -- cgit v1.2.3