summaryrefslogtreecommitdiffstats
path: root/src/vnet
diff options
context:
space:
mode:
Diffstat (limited to 'src/vnet')
-rw-r--r--src/vnet/session/session.c2
-rw-r--r--src/vnet/session/transport_types.h3
2 files changed, 3 insertions, 2 deletions
diff --git a/src/vnet/session/session.c b/src/vnet/session/session.c
index e82c1d662e2..56a1fd71f5a 100644
--- a/src/vnet/session/session.c
+++ b/src/vnet/session/session.c
@@ -1966,7 +1966,7 @@ session_main_init (vlib_main_t * vm)
smm->evt_qs_segment_size = 1 << 20;
#endif
- smm->last_transport_proto_type = TRANSPORT_PROTO_DTLS;
+ smm->last_transport_proto_type = TRANSPORT_PROTO_SRTP;
return 0;
}
diff --git a/src/vnet/session/transport_types.h b/src/vnet/session/transport_types.h
index 75fd1b8993b..9fabac5deaa 100644
--- a/src/vnet/session/transport_types.h
+++ b/src/vnet/session/transport_types.h
@@ -163,7 +163,8 @@ STATIC_ASSERT (sizeof (transport_connection_t) <= 128,
_ (NONE, "ct", "C") \
_ (TLS, "tls", "J") \
_ (QUIC, "quic", "Q") \
- _ (DTLS, "dtls", "D")
+ _ (DTLS, "dtls", "D") \
+ _ (SRTP, "srtp", "R")
typedef enum _transport_proto
{