forked from acouzens/open5gs
[SMF] fix the crash in VoLTE test (#1383)
This commit is contained in:
parent
5ad1b188e4
commit
953a7321c6
|
@ -1105,12 +1105,16 @@ void smf_epc_n4_handle_session_modification_response(
|
|||
}
|
||||
|
||||
} else if (flags & OGS_PFCP_MODIFY_ACTIVATE) {
|
||||
/* SMF send Update PDP Context Response (GTPv1C) to SGSN */
|
||||
if (gtp_xact->gtp_version == 1) {
|
||||
bearer = gtp_xact->data;
|
||||
smf_gtp1_send_update_pdp_context_response(bearer, gtp_xact);
|
||||
if (gtp_xact) {
|
||||
/* SMF send Update PDP Context Response (GTPv1C) to SGSN */
|
||||
if (gtp_xact->gtp_version == 1) {
|
||||
bearer = gtp_xact->data;
|
||||
smf_gtp1_send_update_pdp_context_response(bearer, gtp_xact);
|
||||
} else {
|
||||
/* TODO: SMF send Modify Bearer Response (GTPv2C) to SGWC */
|
||||
}
|
||||
} else {
|
||||
/* TODO: SMF send Modify Bearer Response (GTPv2C) to SGWC */
|
||||
/* Nothing */
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue