diff --git a/luci-app-bmx6/files/usr/lib/lua/luci/controller/bmx6.lua b/luci-app-bmx6/files/usr/lib/lua/luci/controller/bmx6.lua index cb5642e..26e1cb3 100644 --- a/luci-app-bmx6/files/usr/lib/lua/luci/controller/bmx6.lua +++ b/luci-app-bmx6/files/usr/lib/lua/luci/controller/bmx6.lua @@ -69,7 +69,7 @@ function index() entry(place,call("action_nodes_j"),"Nodes",1) table.remove(place) - --- links + --- links table.insert(place,"Links") entry(place,call("action_links"),"Links",2).leaf = true table.remove(place) @@ -204,7 +204,7 @@ function action_links(host) devlinks[l.viaDev] = {} end for _,l in ipairs(links) do - l.globalId = luci.util.split(l.globalId,'.')[1] + l.name = luci.util.split(l.name,'.')[1] table.insert(devlinks[l.viaDev],l) end end diff --git a/luci-app-bmx6/files/usr/lib/lua/luci/view/bmx6/links.htm b/luci-app-bmx6/files/usr/lib/lua/luci/view/bmx6/links.htm index 65e62d7..77b9ed1 100644 --- a/luci-app-bmx6/files/usr/lib/lua/luci/view/bmx6/links.htm +++ b/luci-app-bmx6/files/usr/lib/lua/luci/view/bmx6/links.htm @@ -20,7 +20,7 @@
- <%=l.globalId%>
+ <%=l.name%>
| <%:Network%> | <%:Bandwidth%> | <%:SearchNet%> | -<%:Type%> | <%:Path Metric%> | -<%:IP metric%> | <%:Tun metric%> | -<%:Bonus%> | +<%:Rating%> | <%:Src%> | <%:Search id%> | @@ -97,8 +95,8 @@ if ( tunnel.tunName != "---" ) status = '
---|