cause_value should be initialed with ACCEPT

This commit is contained in:
Sukchan Lee 2020-04-18 13:21:18 -04:00
parent 5009876c16
commit 2e784a331d
1 changed files with 2 additions and 0 deletions

View File

@ -208,6 +208,8 @@ void pgw_s5c_handle_delete_session_request(
ogs_assert(xact);
ogs_assert(req);
cause_value = OGS_GTP_CAUSE_REQUEST_ACCEPTED;
if (!sess) {
ogs_warn("No Context");
cause_value = OGS_GTP_CAUSE_CONTEXT_NOT_FOUND;