2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 14:35:26 +00:00

remove NO_ADDRESS, not NO_DATA

This commit is contained in:
Andreas Gustafsson
2001-11-15 00:53:05 +00:00
parent 47b4920f08
commit a79f12ba46

View File

@@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: getaddresses.c,v 1.3 2001/11/15 00:51:10 gson Exp $ */
/* $Id: getaddresses.c,v 1.4 2001/11/15 00:53:05 gson Exp $ */
#include <config.h>
#include <string.h>
@@ -127,7 +127,7 @@ bind9_getaddresses(const char *hostname, in_port_t port,
if (he == NULL) {
switch (h_errno) {
case HOST_NOT_FOUND:
case NO_ADDRESS:
case NO_DATA:
return (ISC_R_NOTFOUND);
default:
return (ISC_R_FAILURE);