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:
@@ -15,7 +15,7 @@
|
|||||||
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
* 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 <config.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
@@ -127,7 +127,7 @@ bind9_getaddresses(const char *hostname, in_port_t port,
|
|||||||
if (he == NULL) {
|
if (he == NULL) {
|
||||||
switch (h_errno) {
|
switch (h_errno) {
|
||||||
case HOST_NOT_FOUND:
|
case HOST_NOT_FOUND:
|
||||||
case NO_ADDRESS:
|
case NO_DATA:
|
||||||
return (ISC_R_NOTFOUND);
|
return (ISC_R_NOTFOUND);
|
||||||
default:
|
default:
|
||||||
return (ISC_R_FAILURE);
|
return (ISC_R_FAILURE);
|
||||||
|
Reference in New Issue
Block a user