diff options
author | Darren Tucker <dtucker@zip.com.au> | 2003-06-05 09:52:42 +1000 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2003-06-05 09:52:42 +1000 |
commit | 0f68486a7673885ba2834af80fd14f1e3be16e8f (patch) | |
tree | 28cefe97490fa89c87993b1366fb98c36e602ac9 /canohost.c | |
parent | 10eac0cf8f946526a7c0c5cd89287076f792b65d (diff) |
Put AI_NUMERICHOST back where it belongs.
Diffstat (limited to 'canohost.c')
-rw-r--r-- | canohost.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/canohost.c b/canohost.c index fd5c58172..533f2c24a 100644 --- a/canohost.c +++ b/canohost.c | |||
@@ -93,7 +93,7 @@ get_remote_hostname(int socket, int use_dns) | |||
93 | */ | 93 | */ |
94 | memset(&hints, 0, sizeof(hints)); | 94 | memset(&hints, 0, sizeof(hints)); |
95 | hints.ai_socktype = SOCK_DGRAM; /*dummy*/ | 95 | hints.ai_socktype = SOCK_DGRAM; /*dummy*/ |
96 | hints.ai_flags = NI_NUMERICHOST; | 96 | hints.ai_flags = AI_NUMERICHOST; |
97 | if (getaddrinfo(name, "0", &hints, &ai) == 0) { | 97 | if (getaddrinfo(name, "0", &hints, &ai) == 0) { |
98 | logit("Nasty PTR record \"%s\" is set up for %s, ignoring", | 98 | logit("Nasty PTR record \"%s\" is set up for %s, ignoring", |
99 | name, ntop); | 99 | name, ntop); |