summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-olsr/luasrc/view
diff options
context:
space:
mode:
Diffstat (limited to 'applications/luci-olsr/luasrc/view')
-rw-r--r--applications/luci-olsr/luasrc/view/status-olsr/index.htm3
-rw-r--r--applications/luci-olsr/luasrc/view/status-olsr/topology.htm3
2 files changed, 0 insertions, 6 deletions
diff --git a/applications/luci-olsr/luasrc/view/status-olsr/index.htm b/applications/luci-olsr/luasrc/view/status-olsr/index.htm
index 7d85e932b3..035d6dd1e8 100644
--- a/applications/luci-olsr/luasrc/view/status-olsr/index.htm
+++ b/applications/luci-olsr/luasrc/view/status-olsr/index.htm
@@ -25,9 +25,6 @@ $Id$
<th>ETX</th>
</tr>
<% for k, link in ipairs(links) do
- if link.Linkcost then
- link.LinkQuality, link.NLQ, link.ETX = link.Linkcost:match("(.*)/(.*)\t(.*)")
- end
local color = "#bb3333"
link.ETX = tonumber(link.ETX) or 0
diff --git a/applications/luci-olsr/luasrc/view/status-olsr/topology.htm b/applications/luci-olsr/luasrc/view/status-olsr/topology.htm
index 3b705f0884..c7bd93574a 100644
--- a/applications/luci-olsr/luasrc/view/status-olsr/topology.htm
+++ b/applications/luci-olsr/luasrc/view/status-olsr/topology.htm
@@ -24,9 +24,6 @@ $Id$
<th>ETX</th>
</tr>
<% for k, route in ipairs(routes) do
- if route.Linkcost then
- route.LQ, route.ILQ, route.ETX = route.Linkcost:match("(.*)/(.*)\t(.*)")
- end
%>
<tr>
<td><a href="http://<%=route["Destination IP"]%>"><%=route["Destination IP"]%></a></td>