commit | 5b870610d5f2f2cf02aeaf598310a6c74adbc63c | [log] [tgz] |
---|---|---|
author | Holger Hans Peter Freyther <zecke@selfish.org> | Mon Apr 12 12:35:02 2010 +0200 |
committer | Holger Hans Peter Freyther <zecke@selfish.org> | Tue Jun 15 20:24:13 2010 +0800 |
tree | c646b255cfd00f397224458125f63eda078e0227 | |
parent | 02e1c7dbb39f10812ca4bfa5d733dcccf75cb6fa [diff] [blame] |
[statistics] Count the times we lost the connection to the MSC.
diff --git a/openbsc/src/nat/bsc_nat.c b/openbsc/src/nat/bsc_nat.c index e679a91..65e491d 100644 --- a/openbsc/src/nat/bsc_nat.c +++ b/openbsc/src/nat/bsc_nat.c
@@ -334,6 +334,8 @@ { struct bsc_connection *bsc, *tmp; + counter_inc(nat->stats.msc.reconn); + LOGP(DMSC, LOGL_ERROR, "Closing all connections downstream.\n"); llist_for_each_entry_safe(bsc, tmp, &nat->bsc_connections, list_entry) remove_bsc_connection(bsc);