Commit bdc698b7 authored by Vadim Troshchinskiy's avatar Vadim Troshchinskiy Committed by Mike Gabriel

Enable slave socket in server mode

parent 5deb1bc7
...@@ -11123,11 +11123,12 @@ int SetPorts() ...@@ -11123,11 +11123,12 @@ int SetPorts()
if (control -> ProxyMode == proxy_client) { if (control -> ProxyMode == proxy_client) {
slavePort.setDefaultTCPPort(DEFAULT_NX_SLAVE_PORT_CLIENT_OFFSET + proxyPort); slavePort.setDefaultTCPPort(DEFAULT_NX_SLAVE_PORT_CLIENT_OFFSET + proxyPort);
useSlaveSocket = slavePort.enabled();
} else { } else {
slavePort.setDefaultTCPPort(DEFAULT_NX_SLAVE_PORT_SERVER_OFFSET + proxyPort); slavePort.setDefaultTCPPort(DEFAULT_NX_SLAVE_PORT_SERVER_OFFSET + proxyPort);
} }
useSlaveSocket = slavePort.enabled();
nxinfo << "Loop: Using slave port '" << slavePort nxinfo << "Loop: Using slave port '" << slavePort
<< "'.\n" << std::flush; << "'.\n" << std::flush;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment