From 82126763a720c8223841fc19efe65a312ff5bc62 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Sun, 18 Apr 2010 01:35:41 +0800 Subject: nat: Increase the right counter on calls. --- openbsc/src/nat/bsc_nat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'openbsc') 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 -- cgit v1.2.3