diff options
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/cmd.js | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -530,7 +530,9 @@ function drawTorrent (torrent) { '{3:%s} {25+magenta:%s} {10:%s} {10+cyan:%s/s} {10+red:%s/s} {15+grey:%s}' + '{15+cyan:%s}', progress, - wire.remoteAddress + ':' + wire.remotePort, + wire.remoteAddress + ? (wire.remoteAddress + ':' + wire.remotePort) + : 'Unknown', prettyBytes(wire.downloaded), prettyBytes(wire.downloadSpeed()), prettyBytes(wire.uploadSpeed()), |