Log zero ports from trackers
This commit is contained in:
parent
cb00308157
commit
6c8c870b28
|
@ -2360,6 +2360,12 @@ func (cl *Client) announceTorrentSingleTracker(tr tracker.Client, req *tracker.A
|
|||
}
|
||||
var peers []Peer
|
||||
for _, peer := range resp.Peers {
|
||||
if peer.Port == 0 {
|
||||
if CryHeard() {
|
||||
log.Printf("tracker %s gave peer %s", tr, peer)
|
||||
}
|
||||
continue
|
||||
}
|
||||
peers = append(peers, Peer{
|
||||
IP: peer.IP,
|
||||
Port: peer.Port,
|
||||
|
|
Loading…
Reference in New Issue