Fix the error message in UPF #685

This commit is contained in:
Sukchan Lee 2020-11-24 00:50:56 -05:00
parent 19a3680c60
commit 1a7b4de7c6
1 changed files with 2 additions and 2 deletions

View File

@ -74,10 +74,10 @@ void upf_n4_handle_session_establishment_request(
cause_value = OGS_PFCP_CAUSE_REQUEST_ACCEPTED;
if (!sess) {
ogs_error("No Context");
ogs_error("Invalid Message Format");
ogs_pfcp_send_error_message(xact, 0,
OGS_PFCP_SESSION_ESTABLISHMENT_RESPONSE_TYPE,
OGS_PFCP_CAUSE_SESSION_CONTEXT_NOT_FOUND, 0);
OGS_GTP_CAUSE_INVALID_MESSAGE_FORMAT, 0);
return;
}