diff options
-rw-r--r-- | lib/torrent.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/torrent.js b/lib/torrent.js index 3e0567a..27f67f9 100644 --- a/lib/torrent.js +++ b/lib/torrent.js @@ -450,6 +450,8 @@ Torrent.prototype.critical = function (start, end) { Torrent.prototype._onWire = function (wire, addr) { var self = this + debug('got wire (%s)', addr || 'Unknown') + if (addr) { // Sometimes RTCPeerConnection.getStats() doesn't return an ip:port for peers var parts = addrToIPPort(addr) |