From d11ba452c28b01d34e214c05d608c52cd2b4e976 Mon Sep 17 00:00:00 2001 From: Sylvain Berfini Date: Wed, 9 May 2018 12:24:43 +0200 Subject: [PATCH] Fixed tunnel related issues in Sal --- src/sal/sal.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sal/sal.cpp b/src/sal/sal.cpp index 13e71970e..36d8c0c10 100644 --- a/src/sal/sal.cpp +++ b/src/sal/sal.cpp @@ -478,7 +478,7 @@ int Sal::addListenPort(SalAddress* addr, bool_t is_tunneled) { ms_error("Tunneled mode is only available for UDP kind of transports."); return -1; } - lp = belle_sip_tunnel_listening_point_new(stack, tunnel_client); + lp = belle_sip_tunnel_listening_point_new(mStack, mTunnelClient); if (!lp){ ms_error("Could not create tunnel listening point."); return -1; @@ -648,7 +648,7 @@ void Sal::setKeepAlivePeriod(unsigned int value) { int Sal::setTunnel(void *tunnelclient) { #ifdef TUNNEL_ENABLED - tunnel_client=tunnelclient; + mTunnelClient=tunnelclient; return 0; #else return -1;