mirror of
https://github.com/3proxy/3proxy.git
synced 2025-02-23 18:45:40 +08:00
invalid source port selection in socls
This commit is contained in:
parent
e312a1aa11
commit
d49a19cb29
@ -176,7 +176,6 @@ void * sockschild(struct clientparam* param) {
|
||||
#else
|
||||
memcpy(¶m->sinsl, ¶m->srv->extsa, SASIZE(¶m->req));
|
||||
#endif
|
||||
if(!*SAPORT(¶m->sinsl))*SAPORT(¶m->sinsl) = port;
|
||||
if ((param->remsock=so._socket(SASOCK(¶m->req), command == 2? SOCK_STREAM:SOCK_DGRAM, command == 2?IPPROTO_TCP:IPPROTO_UDP)) == INVALID_SOCKET) {RETURN (11);}
|
||||
param->operation = command == 2?BIND:UDPASSOC;
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user