summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-olsr/luasrc/view/status-olsr/interfaces.htm
diff options
context:
space:
mode:
authorManuel Munz <freifunk@somakoma.de>2011-11-13 12:34:09 +0000
committerManuel Munz <freifunk@somakoma.de>2011-11-13 12:34:09 +0000
commit32be6cea9305168b303d1e54ec3e658826725ef2 (patch)
tree9f6a62c55adb2570924657a5a4b4327b29518a94 /applications/luci-olsr/luasrc/view/status-olsr/interfaces.htm
parent2392f40cd2147c2e5d2cf192a6bb4dbac067745f (diff)
applications/luci-olsr: Fix rowstyle, make html valid
Diffstat (limited to 'applications/luci-olsr/luasrc/view/status-olsr/interfaces.htm')
-rw-r--r--applications/luci-olsr/luasrc/view/status-olsr/interfaces.htm2
1 files changed, 1 insertions, 1 deletions
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
<td class="cbi-section-table-cell"><%=iface.Mask%></td>
<td class="cbi-section-table-cell"><%=iface["Dst-Adress"]%></td>
</tr>
- <% if i == 1 then i = 0 elseif i == 0 then i = 1 end
+ <% i = ((i % 2) + 1)
end %>
</table>
</fieldset>