Commit a1e2fed8 authored by SherryChaos's avatar SherryChaos

Disable local connection only restriction when Pro2 support is enabled

parent 81a5e2f7
......@@ -88,9 +88,9 @@ bool NetServer::StartServer(unsigned short port) {
memset(&sin, 0, sizeof(sin));
server_port = port;
sin.sin_family = AF_INET;
#ifdef SERVER_PRO2_SUPPORT
sin.sin_addr.s_addr = htonl(INADDR_LOOPBACK);
#else
//#ifdef SERVER_PRO2_SUPPORT
// sin.sin_addr.s_addr = htonl(INADDR_LOOPBACK);
//#else
sin.sin_addr.s_addr = htonl(INADDR_ANY);
#endif
sin.sin_port = htons(port);
......
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