]> sjero.net Git - linphone/blobdiff - coreapi/linphonecore.c
set mtu to 1300 because mtu detection is absolutely not reliable.
[linphone] / coreapi / linphonecore.c
index 0089dd0fb423d317ce7190377fb317384ed9eb8a..7b4d6a9984dc71d1463ddd3316b855e573a99efc 100644 (file)
@@ -463,7 +463,7 @@ static void net_config_read (LinphoneCore *lc)
        linphone_core_set_firewall_policy(lc,tmp);
        tmp=lp_config_get_int(lc->config,"net","nat_sdp_only",0);
        lc->net_conf.nat_sdp_only=tmp;
-       tmp=lp_config_get_int(lc->config,"net","mtu",0);
+       tmp=lp_config_get_int(lc->config,"net","mtu",1300);
        linphone_core_set_mtu(lc,tmp);
        tmp=lp_config_get_int(lc->config,"net","download_ptime",0);
        linphone_core_set_download_ptime(lc,tmp);