diff --git a/internal/gmm/handler.go b/internal/gmm/handler.go index c9e0665..f228524 100644 --- a/internal/gmm/handler.go +++ b/internal/gmm/handler.go @@ -638,8 +638,7 @@ func HandleInitialRegistration(ue *context.AmfUe, anType models.AccessType) erro if ue.RegistrationRequest.Capability5GMM != nil { ue.Capability5GMM = *ue.RegistrationRequest.Capability5GMM } else { - gmm_message.SendRegistrationReject(ue.RanUe[anType], nasMessage.Cause5GMMProtocolErrorUnspecified, "") - return fmt.Errorf("Capability5GMM is nil") + ue.GmmLog.Warnf("Capability5GMM is nil, Not sending a Registration Reject") } storeLastVisitedRegisteredTAI(ue, ue.RegistrationRequest.LastVisitedRegisteredTAI) @@ -797,8 +796,7 @@ func HandleMobilityAndPeriodicRegistrationUpdating(ue *context.AmfUe, anType mod ue.Capability5GMM = *ue.RegistrationRequest.Capability5GMM } else { if ue.RegistrationType5GS != nasMessage.RegistrationType5GSPeriodicRegistrationUpdating { - gmm_message.SendRegistrationReject(ue.RanUe[anType], nasMessage.Cause5GMMProtocolErrorUnspecified, "") - return fmt.Errorf("Capability5GMM is nil") + ue.GmmLog.Warnf("Capability5GMM is nil, Not sending a Registration Reject") } }