summaryrefslogtreecommitdiff
path: root/testcode/perf.c
diff options
context:
space:
mode:
authorCy Schubert <cy@FreeBSD.org>2022-10-16 19:24:20 +0000
committerCy Schubert <cy@FreeBSD.org>2022-10-16 19:24:20 +0000
commit643f9a0581e8aac7eb790ced1164748939829826 (patch)
tree426d366252d838c8c61b439342ab32eccd181425 /testcode/perf.c
parent0dde6f4f8e604df8c6fbdab8b4aadb5ddf80c76f (diff)
Diffstat (limited to 'testcode/perf.c')
-rw-r--r--testcode/perf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/testcode/perf.c b/testcode/perf.c
index 55d6483c7cf9..7fb524e22d94 100644
--- a/testcode/perf.c
+++ b/testcode/perf.c
@@ -618,7 +618,7 @@ int main(int argc, char* argv[])
printf("error: pass server IP address on commandline.\n");
usage(nm);
}
- if(!extstrtoaddr(argv[0], &info.dest, &info.destlen)) {
+ if(!extstrtoaddr(argv[0], &info.dest, &info.destlen, UNBOUND_DNS_PORT)) {
printf("Could not parse ip: %s\n", argv[0]);
exit(1);
}