add support for -u2 in socks

This commit is contained in:
z3APA3A committed 2016-01-15 15:29:57 +03:00
1 parent 08be6b9f98
commit 75c63d2de6
6 files changed
+22 -9

No files matched your search

+1 -1
View File
@@ -1072,7 +1072,7 @@ CLEANRET:
else if(param->res >=30 && param->res < 80) {
socksend(param->clisock, (unsigned char *)proxy_stringtable[5], (int)strlen(proxy_stringtable[5]), conf.timeouts[STRING_S]);
}
else if(param->res == 1 || (param->srv->nouser && param->res < 10)) {
else if(param->res == 1 || (!param->srv->needuser && param->res < 10)) {
socksend(param->clisock, (unsigned char *)proxy_stringtable[11], (int)strlen(proxy_stringtable[11]), conf.timeouts[STRING_S]);
}
else if(param->res < 10) {