diff --git a/applications/luci-olsr/luasrc/view/status-olsr/neighbors.htm b/applications/luci-olsr/luasrc/view/status-olsr/neighbors.htm
index ab61fb5b4b..0fb9bc0a3c 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;