gbproxy: Track all TLLIs (not only LOCAL)
This patch removes all checks for the TLLI type.
Sponsored-by: On-Waves ehf
diff --git a/openbsc/src/gprs/gb_proxy.c b/openbsc/src/gprs/gb_proxy.c
index 500968b..1e06d3d 100644
--- a/openbsc/src/gprs/gb_proxy.c
+++ b/openbsc/src/gprs/gb_proxy.c
@@ -578,9 +578,6 @@
time_t now = 0;
int tlli_already_known;
- if (gprs_tlli_type(tlli) != TLLI_LOCAL)
- return;
-
if (!imsi || (imsi[0] & GSM_MI_TYPE_MASK) != GSM_MI_TYPE_IMSI)
return;
@@ -661,8 +658,6 @@
{
LOGP(DGPRS, LOGL_INFO, "Checking TLLI %08x, class: %d\n",
tlli, gprs_tlli_type(tlli));
- if (gprs_tlli_type(tlli) != TLLI_LOCAL)
- return 0;
return !peer->cfg->check_imsi ||
gbprox_find_tlli(peer, tlli) != NULL;