From 143fd51da9cc09613d832afc6829ea5f39a7679e Mon Sep 17 00:00:00 2001 From: "Harald Welte (local)" Date: Fri, 14 Aug 2009 21:17:44 +0200 Subject: [PATCH] display TMSI in 8 digit hex --- openbsc/src/vty_interface.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openbsc/src/vty_interface.c b/openbsc/src/vty_interface.c index 8fc26e2dd..0c8c29a01 100644 --- a/openbsc/src/vty_interface.c +++ b/openbsc/src/vty_interface.c @@ -430,7 +430,7 @@ static void subscr_dump_vty(struct vty *vty, struct gsm_subscriber *subscr) if (subscr->imsi) vty_out(vty, " IMSI: %s%s", subscr->imsi, VTY_NEWLINE); if (subscr->tmsi) - vty_out(vty, " TMSI: %s%s", subscr->tmsi, VTY_NEWLINE); + vty_out(vty, " TMSI: %08X", subscr->tmsi, VTY_NEWLINE); vty_out(vty, " Use count: %u%s", subscr->use_count, VTY_NEWLINE); }