proxy/protocol/base: use upstream_bind_address

Use the upstream_bind_address option, instead of listen_host.
This commit is contained in:
Doug Freed 2016-11-12 00:59:55 -05:00
parent f89671a33b
commit 4cfda51c37
1 changed files with 1 additions and 1 deletions

View File

@ -114,7 +114,7 @@ class ServerConnectionMixin:
server_address, (self.ctx.client_conn.address.host, 0), True)
else:
self.server_conn = connections.ServerConnection(
server_address, (self.config.options.listen_host, 0))
server_address, (self.config.options.upstream_bind_address, 0))
self.__check_self_connect()