aboutsummaryrefslogtreecommitdiffstats
path: root/src/gprs/gb_proxy_patch.c
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2018-10-30 17:27:59 +0100
committerPau Espin Pedrol <pespin@sysmocom.de>2018-10-30 17:35:31 +0100
commitb1d1c240dbfe6a065fd489c38e2e8563ff2d747c (patch)
tree98b83617f88e734c542c05884d96b0fc383cfc31 /src/gprs/gb_proxy_patch.c
parente64f0ef1f6a5cca0c77dfb5966b295aa37202e5e (diff)
Update wrong references to bsc in sgsn code
Diffstat (limited to 'src/gprs/gb_proxy_patch.c')
-rw-r--r--src/gprs/gb_proxy_patch.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gprs/gb_proxy_patch.c b/src/gprs/gb_proxy_patch.c
index 9cca9a86..251bb67d 100644
--- a/src/gprs/gb_proxy_patch.c
+++ b/src/gprs/gb_proxy_patch.c
@@ -29,7 +29,7 @@
#include <osmocom/core/rate_ctr.h>
#include <osmocom/gsm/apn.h>
-extern void *tall_bsc_ctx;
+extern void *tall_sgsn_ctx;
/* patch RA identifier in place */
static void gbproxy_patch_raid(struct gsm48_ra_id *raid_enc, struct gbproxy_peer *peer,
@@ -420,7 +420,7 @@ int gbproxy_set_patch_filter(struct gbproxy_match *match, const char *filter,
if (rc == 0) {
match->enable = 1;
- match->re_str = talloc_strdup(tall_bsc_ctx, filter);
+ match->re_str = talloc_strdup(tall_sgsn_ctx, filter);
return 0;
}