From 8992f30866224af3d4e6e57bd75af44c81b38d21 Mon Sep 17 00:00:00 2001 From: Jacob Erlbeck Date: Fri, 19 Sep 2014 13:17:55 +0200 Subject: 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 --- openbsc/src/gprs/gb_proxy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'openbsc/src/gprs/gb_proxy.c') diff --git a/openbsc/src/gprs/gb_proxy.c b/openbsc/src/gprs/gb_proxy.c index 8b5a67269..886d3c342 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; } -- cgit v1.2.3