Change in osmo-pcu[master]: BSSGP: properly print BVCI for signalling messages (BVCI=0)

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/.

laforge gerrit-no-reply at lists.osmocom.org
Fri Nov 8 15:19:32 UTC 2019


laforge has submitted this change. ( https://gerrit.osmocom.org/c/osmo-pcu/+/16007 )

Change subject: BSSGP: properly print BVCI for signalling messages (BVCI=0)
......................................................................

BSSGP: properly print BVCI for signalling messages (BVCI=0)

Change-Id: I4ac0f48d2e62cd0545e8a1e1b26c9e43ef5e8dde
---
M src/gprs_bssgp_pcu.cpp
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Jenkins Builder: Verified
  pespin: Looks good to me, but someone else must approve
  laforge: Looks good to me, approved



diff --git a/src/gprs_bssgp_pcu.cpp b/src/gprs_bssgp_pcu.cpp
index f99058a..dd9eb68 100644
--- a/src/gprs_bssgp_pcu.cpp
+++ b/src/gprs_bssgp_pcu.cpp
@@ -281,7 +281,7 @@
 	struct bssgp_normal_hdr *bgph = (struct bssgp_normal_hdr *) msgb_bssgph(msg);
 	enum bssgp_pdu_type pdu_type = (enum bssgp_pdu_type) bgph->pdu_type;
 	int rc = 0;
-	int bvci = bctx ? bctx->bvci : -1;
+	int bvci = bctx ? bctx->bvci : msgb_bvci(msg);
 	switch (pdu_type) {
 	case BSSGP_PDUT_STATUS:
 		/* already handled in libosmogb */

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

Gerrit-Project: osmo-pcu
Gerrit-Branch: master
Gerrit-Change-Id: I4ac0f48d2e62cd0545e8a1e1b26c9e43ef5e8dde
Gerrit-Change-Number: 16007
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <axilirator at gmail.com>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-Reviewer: pespin <pespin at sysmocom.de>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20191108/cbc9ecb2/attachment.htm>


More information about the gerrit-log mailing list