Change in osmo-msc[master]: msc_vty: also show IMEI and IMEISV

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

dexter gerrit-no-reply at lists.osmocom.org
Wed Dec 19 12:27:17 UTC 2018


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 <pmaier at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder (1000002)
Gerrit-Reviewer: Pau Espin Pedrol <pespin at sysmocom.de>
Gerrit-Reviewer: Stefan Sperling <stsp at stsp.name>
Gerrit-Reviewer: dexter <pmaier at sysmocom.de>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20181219/6ac11bb1/attachment.htm>


More information about the gerrit-log mailing list