Commit 059f242a authored by Bob Halley's avatar Bob Halley
Browse files

test isc_net_haveipv[46]

parent f95dfb12
......@@ -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) ==
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment