summaryrefslogtreecommitdiffstats
path: root/openbsc/src/gprs/gb_proxy.c
diff options
context:
space:
mode:
authorJacob Erlbeck <jerlbeck@sysmocom.de>2014-09-19 13:17:55 +0200
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2014-10-09 17:43:12 +0200
commit8992f30866224af3d4e6e57bd75af44c81b38d21 (patch)
treea3ecd12f1c31f61e4b6c105db7dc328ff398676b /openbsc/src/gprs/gb_proxy.c
parent08fbeb8fa4c1097c2714e7b4b85079119aebee5b (diff)
gbproxy: Rename identifiers related to IMSI matching
This patch renames gbproxy_check_tlli() to gbproxy_imsi_matches() and struct tlli_info's enable_patching to imsi_matches. It's meant to be more obvious and consistent this way. Sponsored-by: On-Waves ehf
Diffstat (limited to 'openbsc/src/gprs/gb_proxy.c')
-rw-r--r--openbsc/src/gprs/gb_proxy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsc/src/gprs/gb_proxy.c b/openbsc/src/gprs/gb_proxy.c
index 8b5a672..886d3c3 100644
--- a/openbsc/src/gprs/gb_proxy.c
+++ b/openbsc/src/gprs/gb_proxy.c
@@ -574,7 +574,7 @@ static int gbprox_process_bssgp_ul(struct gbproxy_config *cfg,
if (tlli_info && cfg->route_to_sgsn2) {
if (cfg->acquire_imsi && tlli_info->imsi_len == 0)
sgsn_nsei = 0xffff;
- else if (gbproxy_check_tlli(peer, tlli_info))
+ else if (gbproxy_imsi_matches(peer, tlli_info))
sgsn_nsei = cfg->nsip_sgsn2_nsei;
}