Fix own IP detection

- minor bug in the previous commit
This commit is contained in:
Peter Šurda 2017-05-31 00:22:07 +02:00
parent f23c169eec
commit d9e3349eeb
Signed by untrusted user: PeterSurda
GPG Key ID: 0C5F50C0B5F37D87

View File

@ -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: