invalid source port selection in socls

This commit is contained in:
z3APA3A 2016-01-03 19:43:16 +03:00
parent e312a1aa11
commit d49a19cb29

View File

@ -176,7 +176,6 @@ void * sockschild(struct clientparam* param) {
#else
memcpy(&param->sinsl, &param->srv->extsa, SASIZE(&param->req));
#endif
if(!*SAPORT(&param->sinsl))*SAPORT(&param->sinsl) = port;
if ((param->remsock=so._socket(SASOCK(&param->req), command == 2? SOCK_STREAM:SOCK_DGRAM, command == 2?IPPROTO_TCP:IPPROTO_UDP)) == INVALID_SOCKET) {RETURN (11);}
param->operation = command == 2?BIND:UDPASSOC;
break;