]> andersk Git - openssh.git/commitdiff
Revert recently introduced typo: AI_NUMERICHOST -> NI_NUMERICHOST
authordtucker <dtucker>
Wed, 4 Jun 2003 14:11:53 +0000 (14:11 +0000)
committerdtucker <dtucker>
Wed, 4 Jun 2003 14:11:53 +0000 (14:11 +0000)
canohost.c

index 533f2c24af3f450bdb0db578cb06ebf358fdefd6..fd5c581727ae1ace411917144f8a7aa84ea0d9b9 100644 (file)
@@ -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);
This page took 0.76611 seconds and 5 git commands to generate.