mirror of
https://gitea.osmocom.org/cellular-infrastructure/osmo-mgw.git
synced 2025-11-02 13:03:33 +00:00
gbproxy: Remove broken TLLI comparison
This comparison bit-ored the TLLI with 0xc000 instead of 0xc000000. Since this has never worked properly yet and since normalizing to local TLLIs doesn't seem sensible here, the comparison is removed entirely. Sponsored-by: On-Waves ehf
This commit is contained in:
@@ -1140,7 +1140,6 @@ static void gbprox_patch_llc(struct msgb *msg, uint8_t *llc, size_t llc_len,
|
||||
rc = gbprox_patch_dtap(msg, data, data_len, peer, len_change, parse_ctx);
|
||||
|
||||
if (parse_ctx->new_ptmsi &&
|
||||
(parse_ctx->new_ptmsi | 0xc000) != (tlli | 0xc000) &&
|
||||
peer->cfg->core_apn && parse_ctx->to_bss && parse_ctx->imsi) {
|
||||
/* A new TLLI (PTMSI) has been signaled in the message */
|
||||
LOGP(DGPRS, LOGL_INFO,
|
||||
|
||||
Reference in New Issue
Block a user