mirror of
https://github.com/3proxy/3proxy.git
synced 2026-11-22 23:59:41 +08:00
invalid source port selection in socls
This commit is contained in:
1 parent
e312a1aa11
commit
d49a19cb29
1 file changed
-1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user