mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-06 17:18:32 +00:00
preparation for RFC3493. EAI_NODATA was deprecated.
This commit is contained in:
parent
72fd1b6a20
commit
3d82ba4313
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=121423
|
@ -54,7 +54,9 @@ __FBSDID("$FreeBSD$");
|
|||
* Error messages for resolver errors
|
||||
*/
|
||||
static struct fetcherr _netdb_errlist[] = {
|
||||
#ifdef EAI_NODATA
|
||||
{ EAI_NODATA, FETCH_RESOLV, "Host not found" },
|
||||
#endif
|
||||
{ EAI_AGAIN, FETCH_TEMP, "Transient resolver failure" },
|
||||
{ EAI_FAIL, FETCH_RESOLV, "Non-recoverable resolver failure" },
|
||||
{ EAI_NONAME, FETCH_RESOLV, "No address record" },
|
||||
|
|
Loading…
Reference in a new issue