diff --git a/authd/dns.c b/authd/dns.c index 7d6d9472..f8132945 100644 --- a/authd/dns.c +++ b/authd/dns.c @@ -119,7 +119,7 @@ static void handle_lookup_ip_reply(void *data, struct DNSReply *reply) { struct dns_query *query = data; - char ip[64] = "*"; + char ip[HOSTIPLEN] = "*"; if(query == NULL) /* Shouldn't happen */