From: Florin Coras Date: Mon, 25 Aug 2025 12:54:58 +0000 (-0400) Subject: hsa: fix test client args check to allow default port X-Git-Tag: v26.02-rc0~71 X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F32%2F43632%2F1;p=vpp.git hsa: fix test client args check to allow default port Type: fix Change-Id: Ic81370ba1c4cb83793b29fc9478eee8537136aa7 Signed-off-by: Florin Coras --- diff --git a/src/plugins/hs_apps/vcl/vcl_test_client.c b/src/plugins/hs_apps/vcl/vcl_test_client.c index a5ea90dc8a2..95698b9da11 100644 --- a/src/plugins/hs_apps/vcl/vcl_test_client.c +++ b/src/plugins/hs_apps/vcl/vcl_test_client.c @@ -1227,7 +1227,7 @@ vtc_process_opts (vcl_test_client_main_t * vcm, int argc, char **argv) print_usage_and_exit (); } - if (argc < (optind + 2)) + if (argc < (optind + 1)) { vtwrn ("Invalid number of arguments!"); print_usage_and_exit ();