summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-olsr/luasrc/controller/olsr.lua
diff options
context:
space:
mode:
Diffstat (limited to 'applications/luci-app-olsr/luasrc/controller/olsr.lua')
-rw-r--r--applications/luci-app-olsr/luasrc/controller/olsr.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/applications/luci-app-olsr/luasrc/controller/olsr.lua b/applications/luci-app-olsr/luasrc/controller/olsr.lua
index ff4a248dae..e2e93d2693 100644
--- a/applications/luci-app-olsr/luasrc/controller/olsr.lua
+++ b/applications/luci-app-olsr/luasrc/controller/olsr.lua
@@ -300,7 +300,7 @@ function action_mid()
local function compare(a,b)
if a.proto == b.proto then
- return a.ipAddress < b.ipAddress
+ return a.main.ipAddress < b.main.ipAddress
else
return a.proto < b.proto
end