Consider port opened if we have external ip on the interface
This commit is contained in:
parent
860ef650f9
commit
46fb61c68c
1 changed files with 1 additions and 0 deletions
|
@ -203,6 +203,7 @@ class FileServer(ConnectionServer):
|
|||
for ip in interface_ips:
|
||||
if not helper.isPrivateIp(ip) and ip not in self.ip_external_list:
|
||||
self.ip_external_list.append(ip)
|
||||
res[helper.getIpType(ip)] = True # We have opened port if we have external ip
|
||||
SiteManager.peer_blacklist.append((ip, self.port))
|
||||
self.log.debug("External ip found on interfaces: %s" % ip)
|
||||
|
||||
|
|
Loading…
Reference in a new issue