diff options
author | Vadim Yanitskiy <axilirator@gmail.com> | 2019-11-08 04:18:46 +0700 |
---|---|---|
committer | Vadim Yanitskiy <axilirator@gmail.com> | 2019-11-08 04:18:46 +0700 |
commit | ce27d1e126d16d3b40434a98e1486409670daf5b (patch) | |
tree | 222fb7711d57b70485d39672189f012a6d86baae | |
parent | ef444142c8e1f752a6c37a7a2d90b9196431cd0a (diff) |
BSSGP: properly print BVCI for signalling messages (BVCI=0)
Change-Id: I4ac0f48d2e62cd0545e8a1e1b26c9e43ef5e8dde
-rw-r--r-- | src/gprs_bssgp_pcu.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gprs_bssgp_pcu.cpp b/src/gprs_bssgp_pcu.cpp index f99058a5..dd9eb686 100644 --- a/src/gprs_bssgp_pcu.cpp +++ b/src/gprs_bssgp_pcu.cpp @@ -281,7 +281,7 @@ static int gprs_bssgp_pcu_rx_sign(struct msgb *msg, struct tlv_parsed *tp, struc 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 */ |