From ad00d2bee5182c4a9c010838a9d6dbfeb9548d92 Mon Sep 17 00:00:00 2001 From: Neels Hofmeyr Date: Mon, 4 Apr 2016 19:30:14 +0200 Subject: [PATCH] hnb-test: rx dtap: log message size --- src/tests/hnb-test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tests/hnb-test.c b/src/tests/hnb-test.c index 879cbe08..b6d0dc88 100644 --- a/src/tests/hnb-test.c +++ b/src/tests/hnb-test.c @@ -417,7 +417,7 @@ static int hnb_test_nas_rx_mm(struct hnb_test *hnb, struct msgb *rxm) static int hnb_test_nas_rx_dtap(struct hnb_test *hnb, struct msgb *msg) { - printf("got %s\n", osmo_hexdump(msg->data, msg->len)); + printf("got %d bytes: %s\n", msg->len, osmo_hexdump(msg->data, msg->len)); // nas_pdu == '05 08 12' ==> IMEI Identity request // '05 04 0d' ==> LU reject