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 committed Dec 18, 2023
1 parent 4eb4a93 commit 45c70d5
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 @@ -372,6 +372,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 45c70d5

Please sign in to comment.