diff options
author | Philipp Maier <pmaier@sysmocom.de> | 2018-12-14 13:30:14 +0100 |
---|---|---|
committer | dexter <pmaier@sysmocom.de> | 2018-12-19 12:27:17 +0000 |
commit | 6d71ccf48499a2c93642cab037099e74e4c4d161 (patch) | |
tree | 983bb8a92ec76b0831160feff2e82f8ba58a6101 /src | |
parent | 7d41d870deffbe3c16250458b2791a666431f274 (diff) |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/libmsc/msc_vty.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libmsc/msc_vty.c b/src/libmsc/msc_vty.c index 3079bc3a0..c5d28322b 100644 --- a/src/libmsc/msc_vty.c +++ b/src/libmsc/msc_vty.c @@ -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", |