fix printing of TMSI on VTY

This commit is contained in:
Harald Welte 2009-08-15 03:24:51 +02:00
parent b2dc37f512
commit 731fd91b24
1 changed files with 2 additions and 1 deletions

View File

@ -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);
}