VCL: add TLS opt to socket_test.sh
- add TLS transport opt to socket_test.sh
- resolve clash in vcl_test* args with
socket_test.sh opts
Change-Id: I952d5b64942664bc3af1098f67445e0f4b93ab32
Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
diff --git a/src/vcl/vcl_test_client.c b/src/vcl/vcl_test_client.c
index ca009b4..af953e5 100644
--- a/src/vcl/vcl_test_client.c
+++ b/src/vcl/vcl_test_client.c
@@ -715,7 +715,7 @@
" -w <dir> Write test results to <dir>.\n"
" -X Exit after running test.\n"
" -D Use UDP transport layer\n"
- " -S Use TLS transport layer\n"
+ " -L Use TLS transport layer\n"
" -E Run Echo test.\n"
" -N <num-writes> Test Cfg: number of writes.\n"
" -R <rxbuf-size> Test Cfg: rx buffer size.\n"
@@ -733,7 +733,7 @@
int c, v;
opterr = 0;
- while ((c = getopt (argc, argv, "chn:w:XE:I:N:R:T:UBV6DS")) != -1)
+ while ((c = getopt (argc, argv, "chn:w:XE:I:N:R:T:UBV6DL")) != -1)
switch (c)
{
case 'c':
@@ -874,7 +874,7 @@
ctrl->cfg.transport_udp = 1;
break;
- case 'S':
+ case 'L':
ctrl->cfg.transport_tls = 1;
break;