Fix own IP detection
- minor bug in the previous commit
This commit is contained in:
parent
f23c169eec
commit
d9e3349eeb
|
@ -135,7 +135,7 @@ class BMConnectionPool(object):
|
|||
if chosen.host in self.inboundConnections:
|
||||
continue
|
||||
# don't connect to self
|
||||
if chosen.host in state.ownAddresses:
|
||||
if chosen in state.ownAddresses:
|
||||
continue
|
||||
|
||||
#for c in self.outboundConnections:
|
||||
|
|
Loading…
Reference in New Issue
Block a user