Set default Network-Access-Mode to 0

For HSS's which do not include the NAM, the MME should not treat this as a fatal error.  MME should just assume PACKET_AND_CIRCUIT (0), as was decided in a previous PR.
This commit is contained in:
jmasterfunk84 2022-07-21 13:56:41 -06:00 committed by Sukchan Lee
parent 7e6568d800
commit d2ef555ce4
1 changed files with 2 additions and 2 deletions

View File

@ -791,8 +791,8 @@ static void mme_s6a_ula_cb(void *data, struct msg **msg)
ogs_assert(ret == 0);
mme_ue->network_access_mode = hdr->avp_value->i32;
} else {
ogs_error("no_Network-Access-Mode");
error++;
mme_ue->network_access_mode = 0;
ogs_warn("no subscribed Network-Access-Mode, defaulting to PACKET_AND_CIRCUIT (0)");
}
/* AVP: 'AMBR'(1435)