From f681e277eb54e48102dcbb307aa49dc9663d6182 Mon Sep 17 00:00:00 2001 From: Elizabeth Myers Date: Sat, 26 Mar 2016 20:33:35 -0500 Subject: [PATCH] authd/providers/ident: perform check for valid auth_client data --- authd/providers/ident.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/authd/providers/ident.c b/authd/providers/ident.c index f69a63a91..e14fac43c 100644 --- a/authd/providers/ident.c +++ b/authd/providers/ident.c @@ -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;