aboutsummaryrefslogtreecommitdiffstats
path: root/src/libmsc/msc_vty.c
diff options
context:
space:
mode:
authorMax <msuraev@sysmocom.de>2018-12-19 11:48:33 +0100
committerMax <msuraev@sysmocom.de>2018-12-19 11:48:33 +0100
commit7d41d870deffbe3c16250458b2791a666431f274 (patch)
treeecf31d329cab0135b458f7a97f84838455aeee3d /src/libmsc/msc_vty.c
parent2a0ac3b162da0f540c9b1726c3d6f30aa02ceae0 (diff)
Remove redundancy in LAC processing
Always use LAC which is part of Cell Global ID otherwise we might end up in a situation where separately stored LAC differs. Both are described in 3GPP TS 23.008 $2.4 as temporary subscriber data to be stored in VLR. Both are defined in 3GPP TS 23.003. The LAC is part of LAI which is part of CGI so there should be no case when those values differ for a given subscriber. Change-Id: I993ebc3e14f25e83124b6d3f8461a4b18f971f8e
Diffstat (limited to 'src/libmsc/msc_vty.c')
-rw-r--r--src/libmsc/msc_vty.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libmsc/msc_vty.c b/src/libmsc/msc_vty.c
index 5622c024c..3079bc3a0 100644
--- a/src/libmsc/msc_vty.c
+++ b/src/libmsc/msc_vty.c
@@ -631,7 +631,7 @@ static void subscr_dump_full_vty(struct vty *vty, struct vlr_subscr *vsub)
vty_out(vty, " Extension: %s%s", vsub->msisdn,
VTY_NEWLINE);
vty_out(vty, " LAC: %d/0x%x%s",
- vsub->lac, vsub->lac, VTY_NEWLINE);
+ vsub->cgi.lai.lac, vsub->cgi.lai.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);