forked from acouzens/open5gs
amf: fix regression for smf selection
This commit is contained in:
parent
bd30e5534b
commit
f1aff3c233
|
@ -1092,12 +1092,13 @@ int gmm_handle_ul_nas_transport(amf_ue_t *amf_ue,
|
||||||
NF_INSTANCE_TYPE(ogs_sbi_self()->nf_instance);
|
NF_INSTANCE_TYPE(ogs_sbi_self()->nf_instance);
|
||||||
ogs_assert(requester_nf_type);
|
ogs_assert(requester_nf_type);
|
||||||
|
|
||||||
nf_instance = ogs_sbi_nf_instance_find_by_service_type(
|
amf_sbi_select_nf(
|
||||||
service_type, requester_nf_type);
|
&sess->sbi,
|
||||||
if (nf_instance)
|
OGS_SBI_SERVICE_TYPE_NSMF_PDUSESSION,
|
||||||
OGS_SBI_SETUP_NF_INSTANCE(
|
requester_nf_type,
|
||||||
sess->sbi.service_type_array[service_type],
|
NULL);
|
||||||
nf_instance);
|
nf_instance = sess->sbi.
|
||||||
|
service_type_array[service_type].nf_instance;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (nf_instance) {
|
if (nf_instance) {
|
||||||
|
|
Loading…
Reference in New Issue