diff options
author | rodrigc <rodrigc@FreeBSD.org> | 2015-11-16 16:58:09 +0000 |
---|---|---|
committer | rodrigc <rodrigc@FreeBSD.org> | 2015-11-16 16:58:09 +0000 |
commit | 9dc16cbb6ac9534c24b141c0983fdb5108cd65e7 (patch) | |
tree | 59893780b2017dd021098549a8ff98c723d8657c /usr.sbin/ypldap | |
parent | 8dff23c527b3f539c4e9e66fb3f362b5dda9aa0c (diff) | |
download | FreeBSD-src-9dc16cbb6ac9534c24b141c0983fdb5108cd65e7.zip FreeBSD-src-9dc16cbb6ac9534c24b141c0983fdb5108cd65e7.tar.gz |
Remove reference to EAI_NODATA.
It does not exist on FreeBSD.
Diffstat (limited to 'usr.sbin/ypldap')
-rw-r--r-- | usr.sbin/ypldap/ypldap_dns.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/ypldap/ypldap_dns.c b/usr.sbin/ypldap/ypldap_dns.c index 145fff4..d10fb2a 100644 --- a/usr.sbin/ypldap/ypldap_dns.c +++ b/usr.sbin/ypldap/ypldap_dns.c @@ -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, |