dexter has submitted this change and it was merged. ( 
https://gerrit.osmocom.org/12343 )

Change subject: msc_vty: also show IMEI and IMEISV
......................................................................

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
---
M src/libmsc/msc_vty.c
1 file changed, 4 insertions(+), 0 deletions(-)

Approvals:
  Pau Espin Pedrol: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/src/libmsc/msc_vty.c b/src/libmsc/msc_vty.c
index 3079bc3..c5d2832 100644
--- a/src/libmsc/msc_vty.c
+++ b/src/libmsc/msc_vty.c
@@ -641,6 +641,10 @@
        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",

--
To view, visit https://gerrit.osmocom.org/12343
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-msc
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: Iedd75dbb9850388ec1fedb984ed0b8bf4c62e780
Gerrit-Change-Number: 12343
Gerrit-PatchSet: 4
Gerrit-Owner: dexter <pma...@sysmocom.de>
Gerrit-Reviewer: Jenkins Builder (1000002)
Gerrit-Reviewer: Pau Espin Pedrol <pes...@sysmocom.de>
Gerrit-Reviewer: Stefan Sperling <s...@stsp.name>
Gerrit-Reviewer: dexter <pma...@sysmocom.de>

Reply via email to