Report port 1 to trackers as not connectable to improve compatibility

This commit is contained in:
shortcutme 2018-04-29 01:02:24 +02:00
parent 5a494ca50e
commit 8039aa3eb1
No known key found for this signature in database
GPG Key ID: 5B63BAE6CB9613AE
1 changed files with 1 additions and 1 deletions

View File

@ -242,7 +242,7 @@ class SiteAnnouncer(object):
if "ipv4" in self.getOpenedServiceTypes():
port = self.fileserver_port
else:
port = 0
port = 1
params = {
'info_hash': hashlib.sha1(self.site.address).digest(),
'peer_id': self.peer_id, 'port': port,