From 0c35b5bd7988ed09677cb72fa35eec270185309c Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Wed, 6 Oct 2010 00:18:20 +0800 Subject: nat: Use the right access list for the stats (found by clang) --- openbsc/src/nat/bsc_nat_utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'openbsc/src') 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; } } -- cgit v1.2.3