vty: 'show ue': show which HNB the UE is registered on

Change-Id: Ife54a105a5a011678d6a03d0032c7622c3079a28
This commit is contained in:
Neels Hofmeyr 2023-03-24 03:37:21 +01:00
parent bc92608e60
commit 0b10b5799f
1 changed files with 2 additions and 1 deletions

View File

@ -217,7 +217,8 @@ static void vty_dump_hnb_info(struct vty *vty, struct hnb_context *hnb)
static void vty_dump_ue_info(struct vty *vty, struct ue_context *ue)
{
vty_out(vty, "UE IMSI \"%s\" context ID %u%s", ue->imsi, ue->context_id, VTY_NEWLINE);
vty_out(vty, "UE IMSI \"%s\" context ID %u HNB %s%s", ue->imsi, ue->context_id,
hnb_context_name(ue->hnb), VTY_NEWLINE);
}
DEFUN(show_hnb, show_hnb_cmd, "show hnb all", SHOW_STR "Display information about all HNB")