options: add upstream_bind_address

Add upstream_bind_address to the options object
This commit is contained in:
Doug Freed 2016-11-12 00:41:00 -05:00
parent 055a0b7198
commit 078bd532c3
1 changed files with 2 additions and 0 deletions

View File

@ -69,6 +69,7 @@ class Options(optmanager.OptManager):
ignore_hosts: Sequence[str] = (),
listen_host: str = "",
listen_port: int = LISTEN_PORT,
upstream_bind_address: str = "",
mode: str = "regular",
no_upstream_cert: bool = False,
rawtcp: bool = False,
@ -131,6 +132,7 @@ class Options(optmanager.OptManager):
self.ignore_hosts = ignore_hosts
self.listen_host = listen_host
self.listen_port = listen_port
self.upstream_bind_address = upstream_bind_address
self.mode = mode
self.no_upstream_cert = no_upstream_cert
self.rawtcp = rawtcp