0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-29 10:12:39 +01:00

authd/providers/ident: perform check for valid auth_client data

This commit is contained in:
Elizabeth Myers 2016-03-26 20:33:35 -05:00
parent 247b304f1f
commit f681e277eb

View file

@ -320,6 +320,9 @@ static bool ident_start(struct auth_client *auth)
struct rb_sockaddr_storage l_addr, 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]);
auth->data[PROVIDER_IDENT] = query;