* Call getnameinfo() without the flag that suppresses name lookups
[citadel.git] / webcit / locate_host.c
index b18f1031bc9ddc4b63b3f190d11dcfdd177616ed..ae99fc3dc85562cb2f6744ff77230bf5916da5e9 100644 (file)
@@ -36,7 +36,7 @@ void locate_host(StrBuf *tbuf, int client_socket)
        getnameinfo((struct sockaddr *)&clientaddr, addrlen,
                clienthost, sizeof(clienthost),
                clientservice, sizeof(clientservice),
-               NI_NUMERICHOST
+               0
        );
 
         StrBufAppendBufPlain(tbuf, clienthost, -1, 0);