commit | dc71cf43bf209a8a336d72bc85df08144b409267 | [log] [tgz] |
---|---|---|
author | Holger Hans Peter Freyther <zecke@selfish.org> | Sun Apr 18 01:35:41 2010 +0800 |
committer | Holger Hans Peter Freyther <zecke@selfish.org> | Tue Jun 15 20:24:14 2010 +0800 |
tree | fc189bc6a42b6c77fdd21f772a20940ad9f8c6c0 | |
parent | 7aef171d4fc90343c3df78511e578f0cb4a94e06 [diff] [blame] |
nat: Increase the right counter on calls.
diff --git a/openbsc/src/nat/bsc_nat.c b/openbsc/src/nat/bsc_nat.c index 3b0f974..abf38ce 100644 --- a/openbsc/src/nat/bsc_nat.c +++ b/openbsc/src/nat/bsc_nat.c
@@ -261,7 +261,7 @@ counter_inc(nat->stats.sccp.calls); if (con) { - counter_inc(con->bsc->cfg->stats.sccp.conn); + counter_inc(con->bsc->cfg->stats.sccp.calls); if (bsc_mgcp_assign(con, msg) != 0) LOGP(DNAT, LOGL_ERROR, "Failed to assign...\n"); } else