authd/providers/ident: perform check for valid auth_client data
This commit is contained in:
parent
247b304f1f
commit
f681e277eb
1 changed files with 3 additions and 0 deletions
|
@ -320,6 +320,9 @@ static bool ident_start(struct auth_client *auth)
|
||||||
struct rb_sockaddr_storage l_addr, c_addr;
|
struct rb_sockaddr_storage l_addr, c_addr;
|
||||||
int family = GET_SS_FAMILY(&auth->c_addr);
|
int family = GET_SS_FAMILY(&auth->c_addr);
|
||||||
|
|
||||||
|
if(auth->data[PROVIDER_IDENT] != NULL)
|
||||||
|
return true;
|
||||||
|
|
||||||
notice_client(auth->cid, messages[REPORT_LOOKUP]);
|
notice_client(auth->cid, messages[REPORT_LOOKUP]);
|
||||||
|
|
||||||
auth->data[PROVIDER_IDENT] = query;
|
auth->data[PROVIDER_IDENT] = query;
|
||||||
|
|
Loading…
Reference in a new issue