aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-10-06 00:18:20 +0800
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-10-06 00:18:20 +0800
commit0c35b5bd7988ed09677cb72fa35eec270185309c (patch)
treedec6e47c223108dd5fbe4217fbfbd70d13e89d6d /openbsc/src
parent76c641635b4733b6256586e9bb6736db5ebb2176 (diff)
nat: Use the right access list for the stats (found by clang)
Diffstat (limited to 'openbsc/src')
-rw-r--r--openbsc/src/nat/bsc_nat_utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsc/src/nat/bsc_nat_utils.c b/openbsc/src/nat/bsc_nat_utils.c
index faba7a548..44443d26e 100644
--- a/openbsc/src/nat/bsc_nat_utils.c
+++ b/openbsc/src/nat/bsc_nat_utils.c
@@ -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;
}
}