From: Semir Sionek Date: Mon, 18 Aug 2025 13:07:11 +0000 (+0000) Subject: hsa: fix typo in vcl_test_client arg check X-Git-Tag: v26.02-rc0~80 X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F88%2F43588%2F2;p=vpp.git hsa: fix typo in vcl_test_client arg check Type: fix Change-Id: Ifd0ef3dfcfc2cfd1bc13f2a1727c5f4a36d4a746 Signed-off-by: Semir Sionek --- diff --git a/src/plugins/hs_apps/vcl/vcl_test_client.c b/src/plugins/hs_apps/vcl/vcl_test_client.c index 8bac1f00b9d..a5ea90dc8a2 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 + 2)) { vtwrn ("Invalid number of arguments!"); print_usage_and_exit ();