fix proxy reconnect

This commit is contained in:
Maximilian Hils 2016-02-20 22:08:49 +01:00
parent 985213a6bc
commit cf57020038
1 changed files with 1 additions and 1 deletions

View File

@ -163,7 +163,7 @@ class ServerConnectionMixin(object):
self.server_conn.finish()
self.server_conn.close()
self.channel.tell("serverdisconnect", self.server_conn)
self.server_conn = ServerConnection(address, source_address)
self.server_conn = ServerConnection(address, (source_address.host, 0))
def connect(self):
"""