From 36416e1d5021d78ea85ce859117631b4b7fa464b Mon Sep 17 00:00:00 2001 From: dtucker Date: Wed, 4 Jun 2003 14:11:53 +0000 Subject: [PATCH] Revert recently introduced typo: AI_NUMERICHOST -> NI_NUMERICHOST --- canohost.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/canohost.c b/canohost.c index 533f2c24..fd5c5817 100644 --- a/canohost.c +++ b/canohost.c @@ -93,7 +93,7 @@ get_remote_hostname(int socket, int use_dns) */ memset(&hints, 0, sizeof(hints)); hints.ai_socktype = SOCK_DGRAM; /*dummy*/ - hints.ai_flags = AI_NUMERICHOST; + hints.ai_flags = NI_NUMERICHOST; if (getaddrinfo(name, "0", &hints, &ai) == 0) { logit("Nasty PTR record \"%s\" is set up for %s, ignoring", name, ntop); -- 2.45.2