Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
session: first approximation implementation of tls
[vpp.git]
/
src
/
vnet
/
session
/
transport.c
diff --git
a/src/vnet/session/transport.c
b/src/vnet/session/transport.c
index
acbb4f6
..
797bdad
100644
(file)
--- a/
src/vnet/session/transport.c
+++ b/
src/vnet/session/transport.c
@@
-96,6
+96,10
@@
unformat_transport_proto (unformat_input_t * input, va_list * args)
*proto = TRANSPORT_PROTO_SCTP;
else if (unformat (input, "SCTP"))
*proto = TRANSPORT_PROTO_SCTP;
*proto = TRANSPORT_PROTO_SCTP;
else if (unformat (input, "SCTP"))
*proto = TRANSPORT_PROTO_SCTP;
+ else if (unformat (input, "tls"))
+ *proto = TRANSPORT_PROTO_TLS;
+ else if (unformat (input, "TLS"))
+ *proto = TRANSPORT_PROTO_TLS;
else
return 0;
return 1;
else
return 0;
return 1;