summaryrefslogtreecommitdiffstats
path: root/src/opt.c
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2021-03-12 21:08:16 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2021-03-12 21:08:16 +0000
commit679f9767ea6246b02ce4e8142083878ffb99e4cb (patch)
tree93c6a5781ee409ae9a3b2db88dc0399e33e650fb /src/opt.c
parentReleasing debian version 2.4.2+debian-2. (diff)
downloaddnsperf-679f9767ea6246b02ce4e8142083878ffb99e4cb.tar.xz
dnsperf-679f9767ea6246b02ce4e8142083878ffb99e4cb.zip
Merging upstream version 2.5.0+debian.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/opt.c')
-rw-r--r--src/opt.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/opt.c b/src/opt.c
index 41dcd5e..ad77e03 100644
--- a/src/opt.c
+++ b/src/opt.c
@@ -214,6 +214,10 @@ void perf_opt_parse(int argc, char** argv)
*opt->u.uintp = parse_uint(opt->desc, optarg,
1, 0xFFFFFFFF);
break;
+ case perf_opt_zpint:
+ *opt->u.uintp = parse_uint(opt->desc, optarg,
+ 0, 0xFFFFFFFF);
+ break;
case perf_opt_timeval:
*opt->u.uint64p = parse_timeval(opt->desc, optarg);
break;