summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ypldap
diff options
context:
space:
mode:
authorrodrigc <rodrigc@FreeBSD.org>2015-11-16 16:58:09 +0000
committerrodrigc <rodrigc@FreeBSD.org>2015-11-16 16:58:09 +0000
commit9dc16cbb6ac9534c24b141c0983fdb5108cd65e7 (patch)
tree59893780b2017dd021098549a8ff98c723d8657c /usr.sbin/ypldap
parent8dff23c527b3f539c4e9e66fb3f362b5dda9aa0c (diff)
downloadFreeBSD-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.c2
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,
OpenPOWER on IntegriCloud