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:
|
if chosen.host in self.inboundConnections:
|
||||||
continue
|
continue
|
||||||
# don't connect to self
|
# don't connect to self
|
||||||
if chosen.host in state.ownAddresses:
|
if chosen in state.ownAddresses:
|
||||||
continue
|
continue
|
||||||
|
|
||||||
#for c in self.outboundConnections:
|
#for c in self.outboundConnections:
|
||||||
|
|
Reference in New Issue
Block a user