From 002fa0050f767552ff22522a40716502c5b61d89 Mon Sep 17 00:00:00 2001 From: Guido Casati Date: Mon, 10 Mar 2025 18:15:34 +0100 Subject: [PATCH] Bugfix in ngap_gNB_handle_ng_setup_response: use correct count for PLMNSupportList --- openair3/NGAP/ngap_gNB_handlers.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openair3/NGAP/ngap_gNB_handlers.c b/openair3/NGAP/ngap_gNB_handlers.c index 97f15ef658..c692731e3e 100644 --- a/openair3/NGAP/ngap_gNB_handlers.c +++ b/openair3/NGAP/ngap_gNB_handlers.c @@ -251,7 +251,7 @@ static int ngap_gNB_handle_ng_setup_response(sctp_assoc_t assoc_id, uint32_t str STAILQ_INIT(&amf_desc_p->plmn_supports); - for (i = 0; i < ie->value.choice.ServedGUAMIList.list.count; i++) { + for (i = 0; i < ie->value.choice.PLMNSupportList.list.count; i++) { NGAP_PLMNSupportItem_t *plmn_support_item_p; struct plmn_support_s *new_plmn_support_p; NGAP_SliceSupportItem_t *slice_support_item_p;