From 349a3ab4ba0ad470ca822457c2ea0248e35e8fa9 Mon Sep 17 00:00:00 2001 From: "namba.ryuichi" Date: Wed, 27 Jul 2022 09:07:03 +0000 Subject: [PATCH] If non-subscribed UEs send RegistrationRequest, AMF does not return RegistrationReject and the resource will remain. --- internal/sbi/producer/ue_authentication.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/sbi/producer/ue_authentication.go b/internal/sbi/producer/ue_authentication.go index 74f3796..af4f6b5 100644 --- a/internal/sbi/producer/ue_authentication.go +++ b/internal/sbi/producer/ue_authentication.go @@ -132,7 +132,7 @@ func UeAuthPostRequestProcedure(updateAuthenticationInfo models.AuthenticationIn } else { problemDetails.Cause = "UPSTREAM_SERVER_ERROR" } - problemDetails.Status = http.StatusInternalServerError + problemDetails.Status = int32(rsp.StatusCode) return nil, "", &problemDetails } defer func() {