dexter has submitted this change. ( 
https://gerrit.osmocom.org/c/libosmocore/+/34116 )

Change subject: gprs_bssgp_rim: also print NSEI when sending RIM messages
......................................................................

gprs_bssgp_rim: also print NSEI 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(+), 2 deletions(-)

Approvals:
  laforge: Looks good to me, but someone else must approve
  pespin: Looks good to me, approved
  Jenkins Builder: Verified




diff --git a/src/gb/gprs_bssgp_rim.c b/src/gb/gprs_bssgp_rim.c
index 71f7ea8..55609ed 100644
--- a/src/gb/gprs_bssgp_rim.c
+++ b/src/gb/gprs_bssgp_rim.c
@@ -1171,8 +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",
-              bssgp_pdu_str(bgph->pdu_type),
+       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));


--
To view, visit https://gerrit.osmocom.org/c/libosmocore/+/34116
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: I2595abff28fc1d89c1409a2ca0194fedc6f15313
Gerrit-Change-Number: 34116
Gerrit-PatchSet: 3
Gerrit-Owner: dexter <[email protected]>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: dexter <[email protected]>
Gerrit-Reviewer: laforge <[email protected]>
Gerrit-Reviewer: pespin <[email protected]>
Gerrit-MessageType: merged

Reply via email to