[AMF] Handle APN/DNN names as case-insensitive

In case that APN name sent from UE does not case-match with the one
configured in the database, AMF would reject the registration with the
message:

[gmm] WARNING: [imsi-xxx] DNN Not Supported OR Not Subscribed in the
Slice (../src/amf/gmm-handler.c:1051)
This commit is contained in:
Bostjan Meglic 2022-09-08 07:08:15 +00:00 committed by Sukchan Lee
parent f54bccacf5
commit 31a3788021
1 changed files with 1 additions and 1 deletions

View File

@ -1014,7 +1014,7 @@ int gmm_handle_ul_nas_transport(amf_ue_t *amf_ue,
OGS_MAX_NUM_OF_SESS);
break;
}
if (!strcmp(dnn->value,
if (!ogs_strcasecmp(dnn->value,
amf_ue->slice[i].session[k].name)) {
selected_slice = amf_ue->slice + i;