[PATCH] openbsc[vlr_3G]: logging: auth request: use hexdump without spaces for RAND, ...

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

daniel gerrit-no-reply at lists.osmocom.org
Mon May 8 12:39:21 UTC 2017


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 <dwillmann at sysmocom.de>



More information about the gerrit-log mailing list