From 6360d4c977b6b8fb6b0c80e0fcd29f43e0cc1cba Mon Sep 17 00:00:00 2001 From: Axel Neumann Date: Sun, 4 Aug 2013 08:28:44 +0200 Subject: [PATCH 1/1] Revert "Adapt tunnels web view to new bmx6 syntax and options" This reverts commit b493828d75c23d2733fafd317c9d5859959d8c3f. --- .../files/usr/lib/lua/luci/view/bmx6/tunnels_j.htm | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/luci-app-bmx6/files/usr/lib/lua/luci/view/bmx6/tunnels_j.htm b/luci-app-bmx6/files/usr/lib/lua/luci/view/bmx6/tunnels_j.htm index d4cc38b..1b7ce42 100644 --- a/luci-app-bmx6/files/usr/lib/lua/luci/view/bmx6/tunnels_j.htm +++ b/luci-app-bmx6/files/usr/lib/lua/luci/view/bmx6/tunnels_j.htm @@ -71,8 +71,7 @@ <%:IP metric%> <%:Tun metric%> <%:Bonus%> - <%:Src%> - <%:Search id%> + <%:search id%>
<%:Collecting data...%>
@@ -90,15 +89,15 @@ var res = Array(); for ( var k in st.tunnels ){ var tunnel = st.tunnels[k]; - var nodename = tunnel.remoteName.replace(/\..+$/,''); + var nodename = tunnel.remoteId.replace(/\..+$/,''); var advnet = tunnel.advNet; var status = ''; if ( tunnel.tunName != "---" ) status = ''; if ( advnet == "0.0.0.0/0" ) advnet = "Internet"; - res.push([status, tunnel.name, nodename, advnet, tunnel.advBw, tunnel.net, tunnel.advType, - tunnel.pathMtc, tunnel.ipMtc, tunnel.tunMtc, tunnel.bonus, tunnel.srcIngress, tunnel.id]); + res.push([status, tunnel.name, nodename, advnet, tunnel.advBw, tunnel.searchNet, tunnel.advType, + tunnel.pathMtc, tunnel.ipMtc, tunnel.tunMtc, tunnel.bonus, tunnel.searchId]); } return res; }); -- 2.30.2