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);