aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVadim Yanitskiy <axilirator@gmail.com>2019-11-08 04:18:46 +0700
committerVadim Yanitskiy <axilirator@gmail.com>2019-11-08 04:18:46 +0700
commitce27d1e126d16d3b40434a98e1486409670daf5b (patch)
tree222fb7711d57b70485d39672189f012a6d86baae
parentef444142c8e1f752a6c37a7a2d90b9196431cd0a (diff)
BSSGP: properly print BVCI for signalling messages (BVCI=0)
-rw-r--r--src/gprs_bssgp_pcu.cpp2
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 */