msc_vty: display current RAN type

When a subscriber is displayed the RAN type is not included in the
overview. Meanwhile the MSC supports multiple different ran types it
becomes important to see in which RAN the subscriber is currently
active.

Change-Id: I000cafd5e41b9951d51b6bd6672ee68a224b8212
Related: OS#3615
This commit is contained in:
Philipp Maier 2018-12-17 10:03:50 +01:00
parent 89561bc4e7
commit 2a0ac3b162
1 changed files with 2 additions and 0 deletions

View File

@ -632,6 +632,8 @@ static void subscr_dump_full_vty(struct vty *vty, struct vlr_subscr *vsub)
VTY_NEWLINE);
vty_out(vty, " LAC: %d/0x%x%s",
vsub->lac, vsub->lac, VTY_NEWLINE);
vty_out(vty, " RAN: %s%s",
ran_type_name(vsub->cs.attached_via_ran), VTY_NEWLINE);
vty_out(vty, " IMSI: %s%s", vsub->imsi, VTY_NEWLINE);
if (vsub->tmsi != GSM_RESERVED_TMSI)
vty_out(vty, " TMSI: %08X%s", vsub->tmsi,