From dd174d37fabd70b19e73c9fbfed8664e154d471c Mon Sep 17 00:00:00 2001 From: yagoda Date: Mon, 13 Mar 2023 10:20:01 +0100 Subject: [PATCH] ngap: switching nssai data structure to a std::array --- lib/include/srsran/interfaces/gnb_ngap_interfaces.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/include/srsran/interfaces/gnb_ngap_interfaces.h b/lib/include/srsran/interfaces/gnb_ngap_interfaces.h index dc4527c97..0b73e82c1 100644 --- a/lib/include/srsran/interfaces/gnb_ngap_interfaces.h +++ b/lib/include/srsran/interfaces/gnb_ngap_interfaces.h @@ -30,12 +30,12 @@ struct ngap_args_t { uint16_t tac = 0; // 16-bit tac uint16_t mcc = 0; // BCD-coded with 0xF filler uint16_t mnc = 0; // BCD-coded with 0xF filler - nssai_t nssai[SRSRAN_NUM_SLICE] = {{true, 1, 0}, {false, 2, 0}, {false, 3, 0}}; - std::string amf_addr = ""; - std::string gtp_bind_addr = ""; - std::string gtp_advertise_addr = ""; - std::string ngc_bind_addr = ""; - std::string gnb_name = ""; + std::array nssai = {{{true, 1, 0}, {false, 2, 0}, {false, 3, 0}}}; + std::string amf_addr = ""; + std::string gtp_bind_addr = ""; + std::string gtp_advertise_addr = ""; + std::string ngc_bind_addr = ""; + std::string gnb_name = ""; }; // NGAP interface for RRC