Commit b4999186 authored by Julien Wadel's avatar Julien Wadel

When transport cannot be defined from a SalAddress, it's better to use TLS rather than UDP

parent 1eb39010
......@@ -101,8 +101,8 @@ SalTransport sal_address_get_transport(const SalAddress* addr){
const char *transport=sal_address_get_transport_name(addr);
if (transport)
return sal_transport_parse(transport);
return SalTransportUDP;
else// Set transport to TLS by default
return SalTransportTLS;
const char* sal_address_get_transport_name(const SalAddress* addr){
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment