[MME] Store decoded PAA into session->ue_ip and session_type

This will be used by the Gn interface to obtain the UE IP and provide
it to new SGSN when transmitting SGSN Context Response.
This commit is contained in:
Pau Espin 2023-12-18 15:58:41 +01:00 committed by Sukchan Lee
parent 414f81fcd5
commit 5061a3aec0
1 changed files with 3 additions and 0 deletions

View File

@ -374,6 +374,9 @@ void mme_s11_handle_create_session_response(
if (rsp->pdn_address_allocation.presence) {
memcpy(&session->paa, rsp->pdn_address_allocation.data,
rsp->pdn_address_allocation.len);
session->session_type = session->paa.session_type;
ogs_assert(OGS_OK ==
ogs_gtp2_paa_to_ip(&session->paa, &session->ue_ip));
}
/* ePCO */