commit | a4ed81c8d9688406a16c9c93a04a8dd9c30fa5ac | [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 | bcfebb2c1d27bd2d3121d463ea2a7c0707eac849 [diff] |
[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);