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 <axilira...@gmail.com>
Gerrit-MessageType: newchange

Reply via email to