commit | da35a8da7f301aff242635d749f4cd8c56a6bbd5 | [log] [tgz] |
---|---|---|
author | Holger Hans Peter Freyther <zecke@selfish.org> | Wed May 05 16:57:38 2010 +0800 |
committer | Holger Hans Peter Freyther <zecke@selfish.org> | Tue Jun 15 20:24:17 2010 +0800 |
tree | 7b80b872244f4a5d0c9e3682af9a5830a300dea3 | |
parent | 50788716118e2b0199b296defbd12002875bab42 [diff] [blame] |
nat: Make ping/pong timeout configurable.
diff --git a/openbsc/src/nat/bsc_nat_utils.c b/openbsc/src/nat/bsc_nat_utils.c index d02e6cd..d617f2c 100644 --- a/openbsc/src/nat/bsc_nat_utils.c +++ b/openbsc/src/nat/bsc_nat_utils.c
@@ -53,6 +53,9 @@ 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; }