diff --git a/src/mme/mme-gn-handler.c b/src/mme/mme-gn-handler.c index b9b6a60c10..e9fd499296 100644 --- a/src/mme/mme-gn-handler.c +++ b/src/mme/mme-gn-handler.c @@ -238,11 +238,7 @@ static mme_sess_t *mme_ue_session_from_gtp1_pdp_ctx(mme_ue_t *mme_ue, const ogs_ } ogs_sess->smf_ip = gtp1_pdp_ctx->ggsn_address_c; ogs_sess->context_identifier = gtp1_pdp_ctx->pdp_ctx_id; - ogs_sess->session_type = gtp1_pdp_ctx->pdp_type_num[0]; - ogs_sess->ue_ip = gtp1_pdp_ctx->pdp_address[0]; - /* TODO: sess->paa with gtp1_pdp_ctx->pdp_address[0], - using/implementing ogs_gtp2_ip_to_paa ? */ - ogs_ip_to_paa(&ogs_sess->ue_ip, &ogs_sess->paa); + ogs_ip_to_paa(>p1_pdp_ctx->pdp_address[0], &ogs_sess->paa); /* 3GPP TS 23.060 section 9.2.1A: "The QoS profiles of the PDP context and EPS bearer are mapped as specified in TS 23.401" * 3GPP TS 23.401 Annex E: "Mapping between EPS and Release 99 QoS parameters"