mirror of
https://github.com/3proxy/3proxy.git
synced 2026-08-13 12:19:17 +08:00
Do not try non-SOCKSv5 proxies for UDPASSOC
This commit is contained in:
parent
8de2be3b3b
commit
f480c9dfe8
@ -352,6 +352,7 @@ int handleredirect(struct clientparam * param, struct ace * acentry){
|
||||
}
|
||||
if(param->operation == UDPASSOC){
|
||||
SOCKET s;
|
||||
if(cur->type != R_SOCKS5 && cur->type != R_SOCKS5P) return 70;
|
||||
s = param->remsock;
|
||||
param->remsock = INVALID_SOCKET;
|
||||
param->ctrlsocksrv = s;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user