Commit e4cf73be authored by Pekka Pessi's avatar Pekka Pessi

s2sip: fix bug selecting default transport

parent 214a3650
...@@ -492,9 +492,9 @@ s2_sip_request_to(struct dialog *d, ...@@ -492,9 +492,9 @@ s2_sip_request_to(struct dialog *d,
if (tport == NULL) if (tport == NULL)
tport = s2sip->udp.tport; tport = s2sip->udp.tport;
else if (tport == NULL) if (tport == NULL)
tport = s2sip->tcp.tport; tport = s2sip->tcp.tport;
else if (tport == NULL) if (tport == NULL)
tport = s2sip->tls.tport; tport = s2sip->tls.tport;
assert(tport); assert(tport);
......
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