- Take prefer_ipv6 from config

This commit is contained in:
Juha Heinanen
2019-04-23 17:59:45 +03:00
parent b47f585257
commit d1ef067729
+2 -2
View File
@@ -385,7 +385,7 @@ Java_com_tutpro_baresip_BaresipService_baresipStart(JNIEnv *env, jobject instanc
goto out; goto out;
} }
err = baresip_init(conf_config(), false); err = baresip_init(conf_config());
if (err) { if (err) {
LOGW("baresip_init() failed (%d)\n", err); LOGW("baresip_init() failed (%d)\n", err);
goto out; goto out;
@@ -394,7 +394,7 @@ Java_com_tutpro_baresip_BaresipService_baresipStart(JNIEnv *env, jobject instanc
play_set_path(baresip_player(), path); play_set_path(baresip_player(), path);
err = ua_init("baresip v" BARESIP_VERSION " (" ARCH "/" OS ")", err = ua_init("baresip v" BARESIP_VERSION " (" ARCH "/" OS ")",
true, true, true, false); true, true, true);
if (err) { if (err) {
LOGE("ua_init() failed (%d)\n", err); LOGE("ua_init() failed (%d)\n", err);
goto out; goto out;