Change in osmo-pcu[master]: Fix recent typo preventing MS from registering

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

pespin gerrit-no-reply at lists.osmocom.org
Wed Aug 26 11:44:30 UTC 2020


pespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-pcu/+/19822 )


Change subject: Fix recent typo preventing MS from registering
......................................................................

Fix recent typo preventing MS from registering

Fixes: 0052051c07af63da98137c9f8e3b3119642eb587
Change-Id: Icbbf7340d78ef709ea00d527036533a14e9c21f9
---
M src/gprs_bssgp_pcu.cpp
1 file changed, 1 insertion(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-pcu refs/changes/22/19822/1

diff --git a/src/gprs_bssgp_pcu.cpp b/src/gprs_bssgp_pcu.cpp
index 14d1a9d..d008d02 100644
--- a/src/gprs_bssgp_pcu.cpp
+++ b/src/gprs_bssgp_pcu.cpp
@@ -123,7 +123,7 @@
 	{
 		rc = osmo_mobile_identity_decode(&mi_imsi, TLVP_VAL(tp, BSSGP_IE_IMSI), TLVP_LEN(tp, BSSGP_IE_IMSI),
 						 true);
-		if (rc < 0 || mi_imsi.type != GSM_MI_TYPE_TMSI) {
+		if (rc < 0 || mi_imsi.type != GSM_MI_TYPE_IMSI) {
 			LOGP(DBSSGP, LOGL_NOTICE, "Failed to parse IMSI IE (rc=%d)\n", rc);
 			return bssgp_tx_status(BSSGP_CAUSE_COND_IE_ERR, NULL, msg);
 		}

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-pcu/+/19822
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-pcu
Gerrit-Branch: master
Gerrit-Change-Id: Icbbf7340d78ef709ea00d527036533a14e9c21f9
Gerrit-Change-Number: 19822
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200826/55f10ec8/attachment.htm>


More information about the gerrit-log mailing list