From 22abc748439a8b7e30d4def4b968e828c73ea39c Mon Sep 17 00:00:00 2001 From: Bob Halley Date: Fri, 16 Jul 1999 00:32:48 +0000 Subject: [PATCH] eliminate isc/inet.h --- bin/named/interfacemgr.c | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/bin/named/interfacemgr.c b/bin/named/interfacemgr.c index fa8f0ca72e..50ced62f52 100644 --- a/bin/named/interfacemgr.c +++ b/bin/named/interfacemgr.c @@ -23,17 +23,13 @@ #include #include -#include -#include -#include - #include #include #include #include #include #include -#include +#include #include #include "interfacemgr.h" @@ -287,9 +283,9 @@ 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, - &listen_addr.type.sin.sin_addr, - buf, sizeof(buf)); + addrstr = inet_ntop(listen_addr.type.sin.sin_family, + &listen_addr.type.sin.sin_addr, + buf, sizeof(buf)); if (addrstr == NULL) addrstr = "(bad address)"; printf("listening on %s (%s port %d)\n",