dexter has uploaded this change for review. ( https://gerrit.osmocom.org/c/libosmocore/+/34116 )
Change subject: gprs_bssgp_rim: also print NSWI when sending RIM messages ......................................................................
gprs_bssgp_rim: also print NSWI when sending RIM messages
In bssgp_tx_rim we print source and destination address of the RIM message we send, but we do not print the NSEI, even though this is also an important address parameter.
Related: OS#6095 Change-Id: I2595abff28fc1d89c1409a2ca0194fedc6f15313 --- M src/gb/gprs_bssgp_rim.c 1 file changed, 16 insertions(+), 1 deletion(-)
git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/16/34116/1
diff --git a/src/gb/gprs_bssgp_rim.c b/src/gb/gprs_bssgp_rim.c index 71f7ea8..d6f1fb6 100644 --- a/src/gb/gprs_bssgp_rim.c +++ b/src/gb/gprs_bssgp_rim.c @@ -1171,7 +1171,8 @@ msgb_bvci(msg) = 0; /* Signalling */
bgph = (struct bssgp_normal_hdr *)msgb_bssgph(msg); - DEBUGP(DLBSSGP, "BSSGP BVCI=0 Tx RIM-PDU:%s, src=%s, dest=%s\n", + DEBUGP(DLBSSGP, "BSSGP BVCI=0 NSEI=%u Tx RIM-PDU:%s, src=%s, dest=%s\n", + nsei, bssgp_pdu_str(bgph->pdu_type), bssgp_rim_ri_name_buf(ri_src_str, sizeof(ri_src_str), &pdu->routing_info_src), bssgp_rim_ri_name_buf(ri_dest_str, sizeof(ri_dest_str), &pdu->routing_info_dest));