From 84ae99a5ad51a3e48d2966b4b3709472cda4502b Mon Sep 17 00:00:00 2001 From: Neels Hofmeyr Date: Tue, 14 Feb 2017 17:42:25 +0100 Subject: logging: auth request: use hexdump without spaces for RAND, AUTN Change-Id: I656d8619a1adc93e2f627f4e1ba21512a7374279 --- openbsc/src/libmsc/gsm_04_08.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openbsc/src/libmsc/gsm_04_08.c b/openbsc/src/libmsc/gsm_04_08.c index c910d7192..71ede0485 100644 --- a/openbsc/src/libmsc/gsm_04_08.c +++ b/openbsc/src/libmsc/gsm_04_08.c @@ -891,9 +891,9 @@ int gsm48_tx_mm_auth_req(struct gsm_subscriber_connection *conn, uint8_t *rand, 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; -- cgit v1.2.3