diff options
author | Jacob Erlbeck <jerlbeck@sysmocom.de> | 2014-08-05 10:42:54 +0200 |
---|---|---|
committer | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2014-08-08 08:50:14 +0200 |
commit | 477c69a9c5191f3afc0e91f0dca118d2d9c8f9cf (patch) | |
tree | f1f3922df34d834ecfe9a716388f87d211c9915a /openbsc | |
parent | b773fbf335c8b7fda035e37d02bdeb15839d556f (diff) |
gbproxy: Track all TLLIs (not only LOCAL)
This patch removes all checks for the TLLI type.
Sponsored-by: On-Waves ehf
Diffstat (limited to 'openbsc')
-rw-r--r-- | openbsc/src/gprs/gb_proxy.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/openbsc/src/gprs/gb_proxy.c b/openbsc/src/gprs/gb_proxy.c index 500968b02..1e06d3db3 100644 --- a/openbsc/src/gprs/gb_proxy.c +++ b/openbsc/src/gprs/gb_proxy.c @@ -578,9 +578,6 @@ void gbprox_register_tlli(struct gbproxy_peer *peer, uint32_t tlli, 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 @@ static int gbprox_check_tlli(struct gbproxy_peer *peer, uint32_t tlli) { 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; |