mirror of
https://github.com/3proxy/3proxy.git
synced 2026-11-22 23:59:41 +08:00
Fix: 'extip' may fail with 9 error code
This commit is contained in:
1 parent
6426ed0c1a
commit
4e4f71712d
1 file changed
+2
-2
+2
-2
@@ -317,8 +317,8 @@ int handleredirect(struct clientparam * param, struct ace * acentry){
|
||||
connected = 1;
|
||||
}
|
||||
|
||||
if(!connected) return 9;
|
||||
return (redir)?clientnegotiate(redir, param, (struct sockaddr *)¶m->req):0;
|
||||
if(!connected || !redir) return 0;
|
||||
return clientnegotiate(redir, param, (struct sockaddr *)¶m->req);
|
||||
}
|
||||
|
||||
int IPInentry(struct sockaddr *sa, struct iplist *ipentry){
|
||||
|
||||
Reference in new issue
Block a user