From 7b6510e697b9444754133cc2bee2b1097326524c Mon Sep 17 00:00:00 2001 From: Martin Geno Date: Wed, 29 Jun 2016 21:04:30 +0200 Subject: [PATCH] update channel + txpower --- js/route/aliases.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/js/route/aliases.js b/js/route/aliases.js index 5833dc2..2a0dcf9 100644 --- a/js/route/aliases.js +++ b/js/route/aliases.js @@ -19,15 +19,15 @@ function routeAliases(){ + ''+key+'' + '' + '2.4 Ghz' - + ''+((internal.nodes[key].nodeinfo.wireless !== undefined && internal.nodes[key].nodeinfo.wireless.channel2 !== undefined)?internal.nodes[key].nodeinfo.wireless.channel2:'-')+ '' - + ''+((internal.nodes[key].nodeinfo.wireless !== undefined && internal.nodes[key].nodeinfo.wireless.txpower2 !== undefined)?internal.nodes[key].nodeinfo.wireless.txpower2:'-')+ '' + + ''+((internal.aliases[key].wireless !== undefined && internal.aliases[key].wireless.channel2 !== undefined)?internal.aliases[key].wireless.channel2:'-')+ '' + + ''+((internal.aliases[key].wireless !== undefined && internal.aliases[key].wireless.txpower2 !== undefined)?internal.aliases[key].wireless.txpower2:'-')+ '' + ''+((internal.aliases[key].location)?'place':'')+'' + ''+sshUrl(key)+'' + '' + '' + '5Ghz' - + ''+((internal.nodes[key].nodeinfo.wireless !== undefined && internal.nodes[key].nodeinfo.wireless.channel5 !== undefined)?internal.nodes[key].nodeinfo.wireless.channel5:'-')+ '' - + ''+((internal.nodes[key].nodeinfo.wireless !== undefined && internal.nodes[key].nodeinfo.wireless.txpower5 !== undefined)?internal.nodes[key].nodeinfo.wireless.txpower5:'')+ '' + + ''+((internal.aliases[key].wireless !== undefined && internal.aliases[key].wireless.channel5 !== undefined)?internal.aliases[key].wireless.channel5:'-')+ '' + + ''+((internal.aliases[key].wireless !== undefined && internal.aliases[key].wireless.txpower5 !== undefined)?internal.aliases[key].wireless.txpower5:'-')+ '' + '' }) fill += ''