summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-olsr/luasrc/tools/olsr.lua
diff options
context:
space:
mode:
Diffstat (limited to 'applications/luci-olsr/luasrc/tools/olsr.lua')
-rw-r--r--applications/luci-olsr/luasrc/tools/olsr.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/applications/luci-olsr/luasrc/tools/olsr.lua b/applications/luci-olsr/luasrc/tools/olsr.lua
index 45501020a..425d09a31 100644
--- a/applications/luci-olsr/luasrc/tools/olsr.lua
+++ b/applications/luci-olsr/luasrc/tools/olsr.lua
@@ -16,11 +16,11 @@ function etx_color(etx)
local color = "#bb3333"
if etx == 0 then
color = "#bb3333"
- elseif etx < 4 then
+ elseif etx < 2 then
color = "#00cc00"
- elseif etx < 10 then
+ elseif etx < 4 then
color = "#ffcb05"
- elseif etx < 100 then
+ elseif etx < 10 then
color = "#ff6600"
end
return color