From 1b5d772c4a0c3008503717111cb914124b720236 Mon Sep 17 00:00:00 2001 From: Peter Pentchev Date: Mon, 12 Mar 2018 22:24:39 +0200 Subject: [PATCH] Subject: echo client: Fix an off-by-one error in --times handling --- test-apps/test-echo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test-apps/test-echo.c b/test-apps/test-echo.c index df9ae73b0..81a5076f2 100644 --- a/test-apps/test-echo.c +++ b/test-apps/test-echo.c @@ -346,7 +346,7 @@ int main(int argc, char **argv) _interface = interface_name; break; case 'n': - times = atoi(optarg); + times = atoi(optarg) + 1; break; case '?': case 'h':