mirror of
https://github.com/3proxy/3proxy.git
synced 2025-04-19 18:52:08 +08:00
Fix: 'extip' may fail with 9 error code
This commit is contained in:
parent
6426ed0c1a
commit
4e4f71712d
@ -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){
|
||||
|
Loading…
Reference in New Issue
Block a user