nat: Use the right access list for the stats (found by clang)

This commit is contained in:
Holger Hans Peter Freyther 2010-10-06 00:18:20 +08:00
parent 76c641635b
commit 0c35b5bd79
1 changed files with 1 additions and 1 deletions

View File

@ -298,7 +298,7 @@ static int auth_imsi(struct bsc_connection *bsc, const char *mi_string)
if (lst_check_deny(nat_lst, mi_string) == 0) {
LOGP(DNAT, LOGL_ERROR,
"Filtering %s by nat imsi_deny on bsc nr: %d.\n", mi_string, bsc->cfg->nr);
rate_ctr_inc(&bsc_lst->stats->ctr[ACC_LIST_NAT_FILTER]);
rate_ctr_inc(&nat_lst->stats->ctr[ACC_LIST_NAT_FILTER]);
return -3;
}
}