aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-04-18 01:35:41 +0800
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-04-18 02:40:31 +0800
commit82126763a720c8223841fc19efe65a312ff5bc62 (patch)
tree3528b0996aaa3958b129b170ea8a3511826a819c
parenta380c89a9c7bb753ecc5e557373ac675cb5d0ac0 (diff)
nat: Increase the right counter on calls.
-rw-r--r--openbsc/src/nat/bsc_nat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsc/src/nat/bsc_nat.c b/openbsc/src/nat/bsc_nat.c
index 3b0f9745d..abf38ce4e 100644
--- a/openbsc/src/nat/bsc_nat.c
+++ b/openbsc/src/nat/bsc_nat.c
@@ -261,7 +261,7 @@ static int forward_sccp_to_bts(struct msgb *msg)
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