summaryrefslogtreecommitdiffstats
path: root/src/vcl/vcl_test_server.c
diff options
context:
space:
mode:
authorDave Wallace <dwallacelf@gmail.com>2019-03-25 19:34:50 -0400
committerDave Wallace <dwallacelf@gmail.com>2019-03-25 19:34:50 -0400
commit03dd90adfe652894e4a70c6360e0618caae11145 (patch)
tree341bce7b8ee9b3611237c11ce5dbffcdc79aa317 /src/vcl/vcl_test_server.c
parentddd98f348305d0e0aadb4169567d163d32b94ef9 (diff)
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>
Diffstat (limited to 'src/vcl/vcl_test_server.c')
-rw-r--r--src/vcl/vcl_test_server.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/vcl/vcl_test_server.c b/src/vcl/vcl_test_server.c
index 50d509c355b..173bada2315 100644
--- a/src/vcl/vcl_test_server.c
+++ b/src/vcl/vcl_test_server.c
@@ -321,7 +321,7 @@ print_usage_and_exit (void)
" -6 Use IPv6\n"
" -w <num> Number of workers\n"
" -D Use UDP transport layer\n"
- " -S Use TLS transport layer\n");
+ " -L Use TLS transport layer\n");
exit (1);
}
@@ -371,7 +371,7 @@ vcl_test_server_process_opts (vcl_test_server_main_t * vsm, int argc,
vsm->cfg.proto = VPPCOM_PROTO_TCP;
opterr = 0;
- while ((c = getopt (argc, argv, "6DSsw:")) != -1)
+ while ((c = getopt (argc, argv, "6DLsw:")) != -1)
switch (c)
{
case '6':
@@ -382,7 +382,7 @@ vcl_test_server_process_opts (vcl_test_server_main_t * vsm, int argc,
vsm->cfg.proto = VPPCOM_PROTO_UDP;
break;
- case 'S':
+ case 'L':
vsm->cfg.proto = VPPCOM_PROTO_TLS;
break;