summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-olsr/luasrc/view/status-olsr/smartgw.htm
diff options
context:
space:
mode:
Diffstat (limited to 'applications/luci-olsr/luasrc/view/status-olsr/smartgw.htm')
-rw-r--r--applications/luci-olsr/luasrc/view/status-olsr/smartgw.htm2
1 files changed, 1 insertions, 1 deletions
diff --git a/applications/luci-olsr/luasrc/view/status-olsr/smartgw.htm b/applications/luci-olsr/luasrc/view/status-olsr/smartgw.htm
index 60f43b7f86..7fa8730423 100644
--- a/applications/luci-olsr/luasrc/view/status-olsr/smartgw.htm
+++ b/applications/luci-olsr/luasrc/view/status-olsr/smartgw.htm
@@ -57,7 +57,7 @@ end)
<td class="cbi-section-table-cell"><%=gw.Prefix%></td>
</tr>
- <% if i == 1 then i = 0 elseif i == 0 then i = 1 end
+ <% i = ((i % 2) + 1)
end %>
</table>
</fieldset>