diff --git a/cmd.js b/cmd.js
index <HASH>..<HASH> 100755
--- a/cmd.js
+++ b/cmd.js
@@ -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()),
Fix webrtc crash from command line

Sometimes RTCPeerConnection.getStats() doesn't return an ip:port for
peers