nat: Increase the right counter on calls.

This commit is contained in:
Holger Hans Peter Freyther 2010-04-18 01:35:41 +08:00
parent 8b5100698b
commit 3d0049f4a0
1 changed files with 1 additions and 1 deletions

View File

@ -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