[#301] Add Bearer Context IE's Cause in Modify-Bearer-Response

This commit is contained in:
Sukchan Lee 2019-11-04 23:41:59 +09:00
parent 4fcde77017
commit da242e6734
1 changed files with 4 additions and 0 deletions

View File

@ -274,6 +274,10 @@ void sgw_s11_handle_modify_bearer_request(ogs_gtp_xact_t *s11_xact,
rsp->bearer_contexts_modified.s1_u_enodeb_f_teid.len =
req->bearer_contexts_to_be_modified.s1_u_enodeb_f_teid.len;
rsp->bearer_contexts_modified.cause.presence = 1;
rsp->bearer_contexts_modified.cause.len = sizeof(cause);
rsp->bearer_contexts_modified.cause.data = &cause;
/* if GTP Node changes, End Marker is sent out or not */
if (req->user_location_information.presence == 1) {
/* Set User Location Information */