2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-29 13:38:26 +00:00

eliminate isc/inet.h

This commit is contained in:
Bob Halley 1999-07-16 00:32:48 +00:00
parent c5bbf59219
commit 22abc74843

View File

@ -23,17 +23,13 @@
#include <string.h>
#include <errno.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <isc/assertions.h>
#include <isc/error.h>
#include <isc/mem.h>
#include <isc/result.h>
#include <isc/socket.h>
#include <isc/types.h>
#include <isc/inet.h>
#include <isc/net.h>
#include <isc/interfaceiter.h>
#include "interfacemgr.h"
@ -287,7 +283,7 @@ ns_interfacemgr_scan(ns_interfacemgr_t *mgr) {
char buf[128];
const char *addrstr;
/* XXX IPv6 */
addrstr = isc_inet_ntop(listen_addr.type.sin.sin_family,
addrstr = inet_ntop(listen_addr.type.sin.sin_family,
&listen_addr.type.sin.sin_addr,
buf, sizeof(buf));
if (addrstr == NULL)