Skip to content

Commit

Permalink
[MME] Store decoded PAA into session->ue_ip and session_type
Browse files Browse the repository at this point in the history
This will be used by the Gn interface to obtain the UE IP and provide
it to new SGSN when transmitting SGSN Context Response.
  • Loading branch information
pespin authored and acetcom committed Dec 18, 2023
1 parent 414f81f commit 5061a3a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/mme/mme-s11-handler.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit 5061a3a

Please sign in to comment.