From 624926911b7d58cec9cc6393afe755bcbff04fc5 Mon Sep 17 00:00:00 2001 From: Patrick Grimm Date: Tue, 2 Jul 2013 23:17:16 +0000 Subject: [PATCH] luci-olsr: fix typo --- .../luasrc/view/status-olsr/neighbors.htm | 31 +++++++++++----------- 1 file changed, 15 insertions(+), 16 deletions(-) diff --git a/applications/luci-olsr/luasrc/view/status-olsr/neighbors.htm b/applications/luci-olsr/luasrc/view/status-olsr/neighbors.htm index ab61fb5b4..0fb9bc0a3 100644 --- a/applications/luci-olsr/luasrc/view/status-olsr/neighbors.htm +++ b/applications/luci-olsr/luasrc/view/status-olsr/neighbors.htm @@ -74,35 +74,34 @@ end '' + '%s/%s', neigh.proto, neigh.dfgcolor, neigh.rip, neigh.rip, neigh.rmac - ); + ); } else { s += String.format( '' + '%s/%s', neigh.proto, neigh.dfgcolor, neigh.rip, neigh.rip, neigh.rmac - ); + ); } if (neigh.hn) { s += String.format( - '%s' + + '%s', neigh.dfgcolor, neigh.hn, neigh.hn - ); - } - else { + ); + } else { s += String.format( '?', neigh.dfgcolor - ); - } - s += String.format( - '%s/%s/%s' + - '%s' + - '%s' + - '%s' + - '%s' + - '', - neigh.dfgcolor, neigh.ifn, neigh.lip, neigh.lmac, neigh.dfgcolor, neigh.lq, neigh.dfgcolor, neigh.nlq, neigh.color, neigh.cost, neigh.color, neigh.signal, neigh.noise, neigh.snr || '?' ); + } + s += String.format( + '%s/%s/%s' + + '%s' + + '%s' + + '%s' + + '%s' + + '', + neigh.dfgcolor, neigh.ifn, neigh.lip, neigh.lmac, neigh.dfgcolor, neigh.lq, neigh.dfgcolor, neigh.nlq, neigh.color, neigh.cost, neigh.color, neigh.signal, neigh.noise, neigh.snr || '?' + ); } nt.innerHTML = s; -- 2.11.0