hsa: fix test client args check to allow default port 32/43632/1
authorFlorin Coras <[email protected]>
Mon, 25 Aug 2025 12:54:58 +0000 (08:54 -0400)
committerFlorin Coras <[email protected]>
Mon, 25 Aug 2025 12:54:58 +0000 (08:54 -0400)
Type: fix

Change-Id: Ic81370ba1c4cb83793b29fc9478eee8537136aa7
Signed-off-by: Florin Coras <[email protected]>
src/plugins/hs_apps/vcl/vcl_test_client.c

index a5ea90d..95698b9 100644 (file)
@@ -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 ();