From bdc698b7a6b7a0f46019785c288d1baf5fdc9e2e Mon Sep 17 00:00:00 2001 From: Vadim Troshchinskiy Date: Tue, 11 Feb 2020 10:45:28 +0100 Subject: Enable slave socket in server mode --- nxcomp/src/Loop.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'nxcomp') diff --git a/nxcomp/src/Loop.cpp b/nxcomp/src/Loop.cpp index 59dd43a10..7fecb9123 100644 --- a/nxcomp/src/Loop.cpp +++ b/nxcomp/src/Loop.cpp @@ -11123,11 +11123,12 @@ int SetPorts() if (control -> ProxyMode == proxy_client) { slavePort.setDefaultTCPPort(DEFAULT_NX_SLAVE_PORT_CLIENT_OFFSET + proxyPort); - useSlaveSocket = slavePort.enabled(); } else { slavePort.setDefaultTCPPort(DEFAULT_NX_SLAVE_PORT_SERVER_OFFSET + proxyPort); } + useSlaveSocket = slavePort.enabled(); + nxinfo << "Loop: Using slave port '" << slavePort << "'.\n" << std::flush; -- cgit v1.2.3