diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-05-05 16:57:38 +0800 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-05-05 16:57:38 +0800 |
commit | 08db178271fe342771d6ac0a7ed65e44a500d772 (patch) | |
tree | 94553139b8a0f56e6ce0ba7578f774095d3ea0b8 /openbsc/src/nat/bsc_nat_utils.c | |
parent | 936d8c1b6401a329744f5b926b7df87299af3b39 (diff) |
nat: Make ping/pong timeout configurable.
Diffstat (limited to 'openbsc/src/nat/bsc_nat_utils.c')
-rw-r--r-- | openbsc/src/nat/bsc_nat_utils.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/openbsc/src/nat/bsc_nat_utils.c b/openbsc/src/nat/bsc_nat_utils.c index 1e51737f1..c608a7c2b 100644 --- a/openbsc/src/nat/bsc_nat_utils.c +++ b/openbsc/src/nat/bsc_nat_utils.c @@ -53,6 +53,9 @@ struct bsc_nat *bsc_nat_alloc(void) nat->stats.msc.reconn = counter_alloc("nat.msc.conn"); nat->msc_ip = talloc_strdup(nat, "127.0.0.1"); nat->msc_port = 5000; + nat->auth_timeout = 2; + nat->ping_timeout = 20; + nat->pong_timeout = 5; return nat; } |