mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-17 19:18:06 +00:00
Fixed tunnel related issues in Sal
This commit is contained in:
parent
fa74398e9e
commit
d11ba452c2
1 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue