mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-21 04:58:14 +00:00
Create the tunnel object before remote provisioning so that it can successfully be configured.
This commit is contained in:
parent
227002d1ad
commit
36561bbc44
1 changed files with 4 additions and 1 deletions
|
|
@ -1502,7 +1502,6 @@ static void linphone_core_start(LinphoneCore * lc) {
|
|||
misc_config_read(lc);
|
||||
ui_config_read(lc);
|
||||
#ifdef TUNNEL_ENABLED
|
||||
lc->tunnel=linphone_core_tunnel_new(lc);
|
||||
if (lc->tunnel) {
|
||||
linphone_tunnel_configure(lc->tunnel);
|
||||
}
|
||||
|
|
@ -1630,6 +1629,10 @@ static void linphone_core_init(LinphoneCore * lc, const LinphoneCoreVTable *vtab
|
|||
sal_set_user_pointer(lc->sal,lc);
|
||||
sal_set_callbacks(lc->sal,&linphone_sal_callbacks);
|
||||
|
||||
#ifdef TUNNEL_ENABLED
|
||||
lc->tunnel=linphone_core_tunnel_new(lc);
|
||||
#endif
|
||||
|
||||
lc->network_last_check = 0;
|
||||
lc->network_last_status = FALSE;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue