Commit ae488ca4 authored by smorlat's avatar smorlat

fix inconsistency with adsl/optical

git-svn-id: svn+ssh://svn.savannah.nongnu.org/linphone/trunk@744 3f6dc0c8-ddfe-455d-9043-3cd528dc4637
parent f78974a6
......@@ -62,8 +62,8 @@ void linphone_gtk_show_login_frame(LinphoneProxyConfig *cfg){
int nettype;
if (linphone_core_get_download_bandwidth(lc)==0 &&
linphone_core_get_upload_bandwidth(lc)==0)
if (linphone_core_get_download_bandwidth(lc)==512 &&
linphone_core_get_upload_bandwidth(lc)==512)
nettype=NetworkKindOpticalFiber;
else nettype=NetworkKindAdsl;
gtk_combo_box_set_active(GTK_COMBO_BOX(linphone_gtk_get_widget(mw,"login_internet_kind")),nettype);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment