mirror of
https://github.com/isc-projects/bind9.git
synced 2026-02-17 09:39:15 -05:00
pullup:
1232. [bug] unix/errno2result() didn't handle EADDRNOTAVAIL.
This commit is contained in:
parent
034804a048
commit
e5a402d95e
2 changed files with 5 additions and 1 deletions
2
CHANGES
2
CHANGES
|
|
@ -1,3 +1,5 @@
|
|||
1232. [bug] unix/errno2result() didn't handle EADDRNOTAVAIL.
|
||||
|
||||
1231. [port] HPUX 11.11 recvmsg() can return spurious EADDRNOTAVAIL.
|
||||
|
||||
1230. [bug] isccc_cc_isreply() and isccc_cc_isack() were broken.
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: errno2result.c,v 1.8.2.2 2002/02/20 02:17:27 marka Exp $ */
|
||||
/* $Id: errno2result.c,v 1.8.2.3 2002/03/20 20:59:39 marka Exp $ */
|
||||
|
||||
#include <config.h>
|
||||
|
||||
|
|
@ -100,6 +100,8 @@ isc__errno2result(int posixerrno) {
|
|||
case EADDRINUSE:
|
||||
return (ISC_R_ADDRINUSE);
|
||||
#endif
|
||||
case EADDRNOTAVAIL:
|
||||
return (ISC_R_ADDRNOTAVAIL);
|
||||
default:
|
||||
isc__strerror(posixerrno, strbuf, sizeof(strbuf));
|
||||
UNEXPECTED_ERROR(__FILE__, __LINE__,
|
||||
|
|
|
|||
Loading…
Reference in a new issue