Store detected external ips to separate variable
This commit is contained in:
parent
6662b4f047
commit
f706f7508e
5 changed files with 10 additions and 8 deletions
|
@ -667,7 +667,7 @@ class UiWebsocketPlugin(object):
|
|||
peer_locations.append(peer_location)
|
||||
|
||||
# Append myself
|
||||
for ip in config.ip_external:
|
||||
for ip in self.site.connection_server.ip_external_list:
|
||||
my_loc = self.getLoc(geodb, ip)
|
||||
if my_loc:
|
||||
my_loc["ping"] = 0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue