msc_vty: also show IMEI and IMEISV

When the VLR subscriber information is shown on the VTY it shows IMSI
and TMSI, but not IMEI and IMEISV. Since in some cases this information
might be helpful, lets display it as well.

Change-Id: Iedd75dbb9850388ec1fedb984ed0b8bf4c62e780
This commit is contained in:
Philipp Maier 2018-12-14 13:30:14 +01:00 committed by dexter
parent 7d41d870de
commit 6d71ccf484
1 changed files with 4 additions and 0 deletions

View File

@ -641,6 +641,10 @@ static void subscr_dump_full_vty(struct vty *vty, struct vlr_subscr *vsub)
if (vsub->tmsi_new != GSM_RESERVED_TMSI)
vty_out(vty, " new TMSI: %08X%s", vsub->tmsi_new,
VTY_NEWLINE);
if (vsub->imei[0] != '\0')
vty_out(vty, " IMEI: %s%s", vsub->imei, VTY_NEWLINE);
if (vsub->imeisv[0] != '\0')
vty_out(vty, " IMEISV: %s%s", vsub->imeisv, VTY_NEWLINE);
vty_out(vty, " Flags: %s", VTY_NEWLINE);
vty_out(vty, " IMSI detached: %s%s",