From 731fd91b244a13c36d9daa241260147868c45745 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Sat, 15 Aug 2009 03:24:51 +0200 Subject: fix printing of TMSI on VTY --- openbsc/src/vty_interface.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'openbsc/src/vty_interface.c') diff --git a/openbsc/src/vty_interface.c b/openbsc/src/vty_interface.c index 527d43667..2c0c5583a 100644 --- a/openbsc/src/vty_interface.c +++ b/openbsc/src/vty_interface.c @@ -433,7 +433,8 @@ 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: %08X", subscr->tmsi, VTY_NEWLINE); + vty_out(vty, " TMSI: %08X%s", atoi(subscr->tmsi), + VTY_NEWLINE); vty_out(vty, " Use count: %u%s", subscr->use_count, VTY_NEWLINE); } -- cgit v1.2.3