forked from acouzens/open5gs
[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:
parent
414f81fcd5
commit
5061a3aec0
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue