Commit 17d821cd authored by Ghislain MARY's avatar Ghislain MARY
Browse files

Fix compilation of tunnel channel.

parent 79d42150
......@@ -44,7 +44,7 @@ typedef struct belle_sip_tunnel_channel belle_sip_tunnel_channel_t;
static int tunnel_channel_send(belle_sip_channel_t *obj, const void *buf, size_t buflen) {
belle_sip_tunnel_channel_t *chan = (belle_sip_tunnel_channel_t *)obj;
return tunnel_socket_sendto(chan->tunnelsocket, buf, buflen, obj->peer->ai_addr, obj->peer->ai_addrlen);
return tunnel_socket_sendto(chan->tunnelsocket, buf, buflen, obj->current_peer->ai_addr, obj->current_peer->ai_addrlen);
}
static int tunnel_channel_recv(belle_sip_channel_t *obj, void *buf, size_t buflen) {
......
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