Skip to content

Fix yaml example config file

amf_ip_address is decoded as a paramlist_def_t and not as a paramdef_t, so in the config file it should be a list of ip addresses

In current develop just by trying to run this config file with: sudo ./nr-softmodem -O ../../../targets/PROJECTS/GENERIC-NR-5GC/CONF/gnb.sa.band78.fr1.106PRB.usrpb210.yaml

A segmentation fault will happen:

Thread 1 "nr-softmodem" received signal SIGSEGV, Segmentation fault.
0x00005555562668c1 in RCconfig_NR_NG (msg_p=msg_p@entry=0x555558ebb2a0, i=i@entry=0)
    at /home/user/openairinterface5g/openair2/GNB_APP/gnb_config.c:2108
2108	              strcpy(NGAP_REGISTER_GNB_REQ (msg_p).amf_ip_address[l].ipv4_address,*(NGParamList.paramarray[l][GNB_AMF_IPV4_ADDRESS_IDX].strptr));
Edited by Luis Pereira

Merge request reports

Loading