]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Fix _dns_ghbyname() to return NS_TRYAGAIN instead of NS_NOTFOUND
authorpb <pb@FreeBSD.org>
Mon, 5 Apr 2004 20:18:48 +0000 (20:18 +0000)
committerpb <pb@FreeBSD.org>
Mon, 5 Apr 2004 20:18:48 +0000 (20:18 +0000)
commitf378d8f9dc55207e1dd012e16455be83d36149d3
tree395d20b9fb09f4d56130b4685ec5e4ece2221187
parentcffcc6d901cfc999a139cb66031d0b618f451673
Fix _dns_ghbyname() to return NS_TRYAGAIN instead of NS_NOTFOUND
on temporary nameserver failure. This is necessary to get
getipnodebyname(3) to correctly return h_errno=TRY_AGAIN instead
of HOST_NOT_FOUND.

Reviewed by: green, thomas
MFC after: 1 week
lib/libc/net/name6.c