Do not try non-SOCKSv5 proxies for UDPASSOC

This commit is contained in:
Vladimir Dubrovin committed 2026-08-08 22:58:41 +03:00
1 parent 8de2be3b3b
commit f480c9dfe8
1 file changed
+1
+1
View File
@@ -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;