options: add upstream_bind_address
Add upstream_bind_address to the options object
This commit is contained in:
parent
055a0b7198
commit
078bd532c3
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue