diff options
author | Feross Aboukhadijeh <feross@feross.org> | 2015-05-05 04:48:50 +0300 |
---|---|---|
committer | Feross Aboukhadijeh <feross@feross.org> | 2015-05-05 04:48:50 +0300 |
commit | f846b615718e29d1c9dc28e0e783d046bff6dad4 (patch) | |
tree | b9a3885ba1916012e88a73addcc7ad1beff24759 /bin | |
parent | 8dd03200f5b63f88f7c6eb53b4265f4bfcd5cbe5 (diff) |
Breaking: change wire.remoteAddress property
wire.remoteAddress used to be an "addr:port" string. Now,
wire.remoteAddress is just the ip address. wire.remotePort is the port.
This matches what net.Socket does.
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/cmd.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -530,7 +530,7 @@ 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.remoteAddress + ':' + wire.remotePort, prettyBytes(wire.downloaded), prettyBytes(wire.downloadSpeed()), prettyBytes(wire.uploadSpeed()), |