diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-05-05 17:39:22 +0800 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-05-05 17:39:22 +0800 |
commit | 7faf692cb762a81a6ce63b674cc1711e4ea39b21 (patch) | |
tree | f8b1c3e1e71d42f8fb3f140772d805cad407b934 /openbsc/src/gsm_data.c | |
parent | 0cf25d5154d7c25383257f933d975ad3db91a9ff (diff) |
bsc_msc_ip: Make the ping/pong timeouts configurable
Take the timeouts from the struct.
Diffstat (limited to 'openbsc/src/gsm_data.c')
-rw-r--r-- | openbsc/src/gsm_data.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/openbsc/src/gsm_data.c b/openbsc/src/gsm_data.c index bf6c0cb3e..0ac7041be 100644 --- a/openbsc/src/gsm_data.c +++ b/openbsc/src/gsm_data.c @@ -300,6 +300,8 @@ struct gsm_network *gsm_network_init(u_int16_t country_code, u_int16_t network_c net->msc_ip = talloc_strdup(net, "127.0.0.1"); net->msc_port = 5000; + net->ping_timeout = 20; + net->pong_timeout = 5; return net; } |