forked from p15670423/monkey
Agent: Fix host/port initialization in TCPConnectionHandler
This commit is contained in:
parent
17356ca079
commit
7edb15d825
|
@ -16,8 +16,8 @@ class TCPConnectionHandler(Thread, InterruptableThreadMixin):
|
||||||
bind_port: int,
|
bind_port: int,
|
||||||
client_connected: List[Callable[[socket.socket], None]] = [],
|
client_connected: List[Callable[[socket.socket], None]] = [],
|
||||||
):
|
):
|
||||||
self.local_port = bind_port
|
self.bind_host = bind_host
|
||||||
self.local_host = bind_host
|
self.bind_port = bind_port
|
||||||
self._client_connected = client_connected
|
self._client_connected = client_connected
|
||||||
super().__init__(name="TCPConnectionHandler", daemon=True)
|
super().__init__(name="TCPConnectionHandler", daemon=True)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue