summaryrefslogtreecommitdiffstats
path: root/src/plugins/hs_apps
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/hs_apps')
-rw-r--r--src/plugins/hs_apps/sapi/vpp_echo_common.c3
-rw-r--r--src/plugins/hs_apps/vcl/vcl_test_client.c3
-rw-r--r--src/plugins/hs_apps/vcl/vcl_test_server.c5
3 files changed, 8 insertions, 3 deletions
diff --git a/src/plugins/hs_apps/sapi/vpp_echo_common.c b/src/plugins/hs_apps/sapi/vpp_echo_common.c
index e24629b783e..02ce1686ea2 100644
--- a/src/plugins/hs_apps/sapi/vpp_echo_common.c
+++ b/src/plugins/hs_apps/sapi/vpp_echo_common.c
@@ -339,6 +339,9 @@ format_transport_proto (u8 * s, va_list * args)
case TRANSPORT_PROTO_QUIC:
s = format (s, "QUIC");
break;
+ case TRANSPORT_PROTO_DTLS:
+ s = format (s, "DTLS");
+ break;
default:
s = format (s, "UNKNOWN");
break;
diff --git a/src/plugins/hs_apps/vcl/vcl_test_client.c b/src/plugins/hs_apps/vcl/vcl_test_client.c
index 0aff98ef1dd..35f1ac11818 100644
--- a/src/plugins/hs_apps/vcl/vcl_test_client.c
+++ b/src/plugins/hs_apps/vcl/vcl_test_client.c
@@ -1105,7 +1105,8 @@ main (int argc, char **argv)
if (ctrl->fd < 0)
vtfail ("vppcom_session_create()", ctrl->fd);
- if (vcm->proto == VPPCOM_PROTO_TLS || vcm->proto == VPPCOM_PROTO_QUIC)
+ if (vcm->proto == VPPCOM_PROTO_TLS || vcm->proto == VPPCOM_PROTO_QUIC ||
+ vcm->proto == VPPCOM_PROTO_DTLS)
{
vppcom_cert_key_pair_t ckpair;
uint32_t ckp_len;
diff --git a/src/plugins/hs_apps/vcl/vcl_test_server.c b/src/plugins/hs_apps/vcl/vcl_test_server.c
index a2a4d6ac3b0..b4966bf168b 100644
--- a/src/plugins/hs_apps/vcl/vcl_test_server.c
+++ b/src/plugins/hs_apps/vcl/vcl_test_server.c
@@ -550,8 +550,9 @@ vts_worker_init (vcl_test_server_worker_t * wrk)
vppcom_session_attr (wrk->listen_fd, VPPCOM_ATTR_SET_CONNECTED, 0, 0);
}
- if (vsm->cfg.proto == VPPCOM_PROTO_TLS
- || vsm->cfg.proto == VPPCOM_PROTO_QUIC)
+ if (vsm->cfg.proto == VPPCOM_PROTO_TLS ||
+ vsm->cfg.proto == VPPCOM_PROTO_QUIC ||
+ vsm->cfg.proto == VPPCOM_PROTO_DTLS)
{
vppcom_cert_key_pair_t ckpair;
uint32_t ckp_len;