Do not advertise our IP address after incoming I2P connection
This commit is contained in:
parent
ca5a489d2c
commit
708e2db22c
|
@ -270,6 +270,7 @@ class Connection(threading.Thread):
|
||||||
shared.node_pool.add((self.host, self.port))
|
shared.node_pool.add((self.host, self.port))
|
||||||
elif self.network == 'i2p':
|
elif self.network == 'i2p':
|
||||||
shared.i2p_node_pool.add((self.host, 'i2p'))
|
shared.i2p_node_pool.add((self.host, 'i2p'))
|
||||||
|
if self.network == 'ip':
|
||||||
shared.address_advertise_queue.put(structure.NetAddr(shared.services, version.host, shared.listening_port))
|
shared.address_advertise_queue.put(structure.NetAddr(shared.services, version.host, shared.listening_port))
|
||||||
if self.server:
|
if self.server:
|
||||||
if self.network == 'ip':
|
if self.network == 'ip':
|
||||||
|
|
Loading…
Reference in New Issue
Block a user