bsc: Initialize the MSC data parameters to a sane default
This commit is contained in:
parent
79f763fe91
commit
469692ca47
|
@ -313,6 +313,11 @@ struct gsm_network *gsm_network_init(u_int16_t country_code, u_int16_t network_c
|
|||
|
||||
net->mncc_recv = mncc_recv;
|
||||
|
||||
net->msc_data->msc_ip = talloc_strdup(net, "127.0.0.1");
|
||||
net->msc_data->msc_port = 5000;
|
||||
net->msc_data->ping_timeout = 20;
|
||||
net->msc_data->pong_timeout = 5;
|
||||
|
||||
gsm_net_update_ctype(net);
|
||||
|
||||
return net;
|
||||
|
|
Loading…
Reference in New Issue