mirror of
https://github.com/3proxy/3proxy.git
synced 2025-02-23 10:35:40 +08:00
Fixed: request by host name in SOCKSv5
This commit is contained in:
parent
658e9b3a8a
commit
1be800c334
@ -132,7 +132,7 @@ void * sockschild(struct clientparam* param) {
|
||||
}
|
||||
buf[i] = 0;
|
||||
if(!getip46(param->srv->family, buf, (struct sockaddr *) ¶m->req)) RETURN(100);
|
||||
memcpy(¶m->sinsr, ¶m->req, sizeof(¶m->req));
|
||||
memcpy(¶m->sinsr, ¶m->req, sizeof(param->req));
|
||||
break;
|
||||
default:
|
||||
RETURN(997);
|
||||
|
Loading…
Reference in New Issue
Block a user