mirror of
https://github.com/isc-projects/bind9.git
synced 2026-02-26 11:32:01 -05:00
add ECONNREFUSED
This commit is contained in:
parent
93e6ebcd0a
commit
ac70982956
1 changed files with 3 additions and 1 deletions
|
|
@ -15,7 +15,7 @@
|
|||
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: errno2result.c,v 1.11 2002/03/15 05:01:33 marka Exp $ */
|
||||
/* $Id: errno2result.c,v 1.12 2002/05/03 05:43:40 marka Exp $ */
|
||||
|
||||
#include <config.h>
|
||||
|
||||
|
|
@ -102,6 +102,8 @@ isc__errno2result(int posixerrno) {
|
|||
#endif
|
||||
case EADDRNOTAVAIL:
|
||||
return (ISC_R_ADDRNOTAVAIL);
|
||||
case ECONNREFUSED:
|
||||
return (ISC_R_CONNREFUSED);
|
||||
default:
|
||||
isc__strerror(posixerrno, strbuf, sizeof(strbuf));
|
||||
UNEXPECTED_ERROR(__FILE__, __LINE__,
|
||||
|
|
|
|||
Loading…
Reference in a new issue