From 059f242a0a5fb10efcd9e42c7946fca1b74d412b Mon Sep 17 00:00:00 2001 From: Bob Halley Date: Thu, 8 Jul 1999 02:43:47 +0000 Subject: [PATCH] test isc_net_haveipv[46] --- bin/tests/res_test.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/bin/tests/res_test.c b/bin/tests/res_test.c index d77888b6e6..9cf6ca3f95 100644 --- a/bin/tests/res_test.c +++ b/bin/tests/res_test.c @@ -33,6 +33,7 @@ #include #include #include +#include #include "../../isc/util.h" /* XXX Naughty. */ @@ -158,8 +159,11 @@ main(int argc, char *argv[]) { } } - if (verbose) + if (verbose) { printf("%u workers\n", workers); + printf("IPv4: %s\n", isc_result_totext(isc_net_haveipv4())); + printf("IPv6: %s\n", isc_result_totext(isc_net_haveipv6())); + } taskmgr = NULL; RUNTIME_CHECK(isc_taskmgr_create(mctx, workers, 0, &taskmgr) ==