mirror of
https://gitea.osmocom.org/cellular-infrastructure/osmo-mgw.git
synced 2025-10-23 08:12:01 +00:00
bsc: Initialize the MSC data parameters to a sane default
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user