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

fixeria gerrit-no-reply at lists.osmocom.org
Thu Nov 7 21:22:16 UTC 2019


fixeria has uploaded this change for review. ( 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(-)



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

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-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20191107/2d1d4119/attachment.htm>


More information about the gerrit-log mailing list