diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2018-10-30 17:27:59 +0100 |
---|---|---|
committer | Pau Espin Pedrol <pespin@sysmocom.de> | 2018-10-30 17:35:31 +0100 |
commit | b1d1c240dbfe6a065fd489c38e2e8563ff2d747c (patch) | |
tree | 98b83617f88e734c542c05884d96b0fc383cfc31 /src/gprs/gb_proxy.c | |
parent | e64f0ef1f6a5cca0c77dfb5966b295aa37202e5e (diff) |
Update wrong references to bsc in sgsn code
Change-Id: I93f0dc721c2eff8a87fb9248882f24768f708713
Diffstat (limited to 'src/gprs/gb_proxy.c')
-rw-r--r-- | src/gprs/gb_proxy.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gprs/gb_proxy.c b/src/gprs/gb_proxy.c index 8bb67895e..fe6a6c64f 100644 --- a/src/gprs/gb_proxy.c +++ b/src/gprs/gb_proxy.c @@ -50,7 +50,7 @@ #include <osmocom/gsm/protocol/gsm_04_08_gprs.h> #include <osmocom/sgsn/gprs_utils.h> -extern void *tall_bsc_ctx; +extern void *tall_sgsn_ctx; static const struct rate_ctr_desc global_ctr_description[] = { { "inv-bvci", "Invalid BVC Identifier " }, @@ -1447,7 +1447,7 @@ int gbproxy_init_config(struct gbproxy_config *cfg) struct timespec tp; INIT_LLIST_HEAD(&cfg->bts_peers); - cfg->ctrg = rate_ctr_group_alloc(tall_bsc_ctx, &global_ctrg_desc, 0); + cfg->ctrg = rate_ctr_group_alloc(tall_sgsn_ctx, &global_ctrg_desc, 0); if (!cfg->ctrg) { LOGP(DGPRS, LOGL_ERROR, "Cannot allocate global counter group!\n"); return -1; |