Message from local peer does not means internet connection
This commit is contained in:
parent
1ad021ffa9
commit
ae0a78dfb1
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@ class FileServer(ConnectionServer):
|
|||
self.log.debug("FileRequest: %s %s" % (str(connection), message["cmd"]))
|
||||
req = FileRequest(self, connection)
|
||||
req.route(message["cmd"], message.get("req_id"), message.get("params"))
|
||||
if not self.has_internet:
|
||||
if not self.has_internet and not connection.is_private_ip:
|
||||
self.has_internet = True
|
||||
self.onInternetOnline()
|
||||
|
||||
|
|
Loading…
Reference in a new issue