From f2a9187b8457a86ee06a240515beacecc7bc2932 Mon Sep 17 00:00:00 2001 From: Bob Halley Date: Fri, 16 Jul 1999 00:47:22 +0000 Subject: [PATCH] eliminate isc/inet.h --- bin/tests/dispatch_tcp_test.c | 5 ++--- bin/tests/dispatch_test.c | 5 ++--- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/bin/tests/dispatch_tcp_test.c b/bin/tests/dispatch_tcp_test.c index 991881eb03..569d62235c 100644 --- a/bin/tests/dispatch_tcp_test.c +++ b/bin/tests/dispatch_tcp_test.c @@ -25,7 +25,6 @@ #include #include #include -#include #include #include #include @@ -182,8 +181,8 @@ start_response(void) #endif from.type.sin.sin_port = htons(53); from.type.sa.sa_family = AF_INET; - RUNTIME_CHECK(isc_inet_aton("204.152.184.97", - &from.type.sin.sin_addr) == 1); + RUNTIME_CHECK(inet_aton("204.152.184.97", + &from.type.sin.sin_addr) == 1); msg = NULL; result = dns_message_create(mctx, &msg, DNS_MESSAGE_INTENTRENDER); diff --git a/bin/tests/dispatch_test.c b/bin/tests/dispatch_test.c index 3ef6685f18..c966f018f3 100644 --- a/bin/tests/dispatch_test.c +++ b/bin/tests/dispatch_test.c @@ -25,7 +25,6 @@ #include #include #include -#include #include #include #include @@ -153,8 +152,8 @@ start_response(void) #endif from.type.sin.sin_port = htons(53); from.type.sa.sa_family = AF_INET; - RUNTIME_CHECK(isc_inet_aton("204.152.184.97", - &from.type.sin.sin_addr) == 1); + RUNTIME_CHECK(inet_aton("204.152.184.97", + &from.type.sin.sin_addr) == 1); msg = NULL; result = dns_message_create(mctx, &msg, DNS_MESSAGE_INTENTRENDER);