Remove reference to EAI_NODATA.
It does not exist on FreeBSD.
This commit is contained in:
parent
28b524fb19
commit
468878d99a
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=290934
@ -215,7 +215,7 @@ host_dns(const char *s, struct ypldap_addr **hn)
|
||||
hints.ai_family = PF_UNSPEC;
|
||||
hints.ai_socktype = SOCK_DGRAM; /* DUMMY */
|
||||
error = getaddrinfo(s, NULL, &hints, &res0);
|
||||
if (error == EAI_AGAIN || error == EAI_NODATA || error == EAI_NONAME)
|
||||
if (error == EAI_AGAIN || error == EAI_NONAME)
|
||||
return (0);
|
||||
if (error) {
|
||||
log_warnx("could not parse \"%s\": %s", s,
|
||||
|
Loading…
Reference in New Issue
Block a user