Review at  https://gerrit.osmocom.org/2524

logging: auth request: use hexdump without spaces for RAND, AUTN

Change-Id: I656d8619a1adc93e2f627f4e1ba21512a7374279
---
M openbsc/src/libmsc/gsm_04_08.c
1 file changed, 2 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/openbsc refs/changes/24/2524/1

diff --git a/openbsc/src/libmsc/gsm_04_08.c b/openbsc/src/libmsc/gsm_04_08.c
index 31392f3..5ecca8c 100644
--- a/openbsc/src/libmsc/gsm_04_08.c
+++ b/openbsc/src/libmsc/gsm_04_08.c
@@ -909,9 +909,9 @@
        struct gsm48_hdr *gh = (struct gsm48_hdr *) msgb_put(msg, sizeof(*gh));
        struct gsm48_auth_req *ar = (struct gsm48_auth_req *) msgb_put(msg, 
sizeof(*ar));
 
-       DEBUGP(DMM, "-> AUTH REQ (rand = %s)\n", osmo_hexdump(rand, 16));
+       DEBUGP(DMM, "-> AUTH REQ (rand = %s)\n", osmo_hexdump_nospc(rand, 16));
        if (autn)
-               DEBUGP(DMM, "   AUTH REQ (autn = %s)\n", osmo_hexdump(autn, 
16));
+               DEBUGP(DMM, "   AUTH REQ (autn = %s)\n", 
osmo_hexdump_nospc(autn, 16));
 
        msg->lchan = conn->lchan;
        gh->proto_discr = GSM48_PDISC_MM;

-- 
To view, visit https://gerrit.osmocom.org/2524
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I656d8619a1adc93e2f627f4e1ba21512a7374279
Gerrit-PatchSet: 1
Gerrit-Project: openbsc
Gerrit-Branch: vlr_3G
Gerrit-Owner: daniel <dwillm...@sysmocom.de>

Reply via email to