diff options
Diffstat (limited to 'tinySIP/src/transports/tsip_transport.c')
-rwxr-xr-x | tinySIP/src/transports/tsip_transport.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tinySIP/src/transports/tsip_transport.c b/tinySIP/src/transports/tsip_transport.c index e9d2473..feec0df 100755 --- a/tinySIP/src/transports/tsip_transport.c +++ b/tinySIP/src/transports/tsip_transport.c @@ -921,8 +921,8 @@ int tsip_transport_init(tsip_transport_t* self, tnet_socket_type_t type, const s } self->stack = stack; - self->type = type; self->net_transport = tnet_transport_create(host, port, type, description); + self->type = tnet_transport_get_type(self->net_transport); // Type could be "ipv46" or any fancy protocol. Update it using the transport master self->scheme = "sip"; |