X-Git-Url: http://git.openwrt.org/?p=feed%2Frouting.git;a=blobdiff_plain;f=luci-app-bmx6%2Ffiles%2Fusr%2Flib%2Flua%2Fluci%2Fview%2Fbmx6%2Ftunnels_j.htm;h=1b7ce42365ca87bb665446dc9e49503bd754878e;hp=d4cc38b680620360131534c7bb4398721a2017a7;hb=6360d4c977b6b8fb6b0c80e0fcd29f43e0cc1cba;hpb=2812231fa4d81e7e9e2fc4a6f2980b91a007253d
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;
});