Code Review
/
vpp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
9530f52
)
hsa: fix test client args check to allow default port
32/43632/1
author
Florin Coras
<
[email protected]
>
Mon, 25 Aug 2025 12:54:58 +0000
(08:54 -0400)
committer
Florin 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
patch
|
blob
|
history
diff --git
a/src/plugins/hs_apps/vcl/vcl_test_client.c
b/src/plugins/hs_apps/vcl/vcl_test_client.c
index
a5ea90d
..
95698b9
100644
(file)
--- 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 ();