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 <axilira...@gmail.com>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <lafo...@osmocom.org>
Gerrit-Reviewer: pespin <pes...@sysmocom.de>
Gerrit-MessageType: merged

Reply via email to