- tr.insertCell(-1).innerHTML = String.format(c.layer3 == 'ipv6' ? '[%s]:%d' : '%s:%d', c.src, c.sport);
- tr.insertCell(-1).innerHTML = String.format(c.layer3 == 'ipv6' ? '[%s]:%d' : '%s:%d', c.dst, c.dport);
- tr.insertCell(-1).innerHTML = String.format('%1024.2mB (%d <%:Pkts.%>)', c.bytes, c.packets);
+ tr.insertCell(-1).innerHTML = String.format('%s:%d', src, c.sport);
+ tr.insertCell(-1).innerHTML = String.format('%s:%d', dst, c.dport);
+
+ var traf = tr.insertCell(-1);
+ traf.style.whiteSpace = 'nowrap';
+ traf.innerHTML = String.format('%1024.2mB (%d <%:Pkts.%>)', c.bytes, c.packets);