We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent df31ae9 commit b3fb537Copy full SHA for b3fb537
client.js
@@ -455,7 +455,8 @@ Tracker.prototype._handleResponse = function (requestUrl, data) {
455
// tracker returned normal response
456
data.peers.forEach(function (peer) {
457
var ip = peer.ip
458
- self.client.emit('peer', ip[0] + '.' + ip[1] + '.' + ip[2] + '.' + ip[3] + ':' + peer.port)
+ var addr = ip[0] + '.' + ip[1] + '.' + ip[2] + '.' + ip[3] + ':' + peer.port
459
+ self.client.emit('peer', addr)
460
})
461
}
462
} else if (requestUrl === self._scrapeUrl) {
0 commit comments