mirror of
https://gitea.osmocom.org/cellular-infrastructure/osmo-mgw.git
synced 2025-10-23 08:12:01 +00:00
gbproxy: Track all TLLIs (not only LOCAL)
This patch removes all checks for the TLLI type. Sponsored-by: On-Waves ehf
This commit is contained in:
committed by
Holger Hans Peter Freyther
parent
b773fbf335
commit
477c69a9c5
@@ -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;
|
||||
|
Reference in New Issue
Block a user