2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-30 14:07:59 +00:00

test isc_net_haveipv[46]

This commit is contained in:
Bob Halley
1999-07-08 02:43:47 +00:00
parent f95dfb12a7
commit 059f242a0a

View File

@@ -33,6 +33,7 @@
#include <isc/app.h>
#include <isc/mutex.h>
#include <isc/boolean.h>
#include <isc/net.h>
#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) ==