Skip to content

Commit

Permalink
fix: add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
donald1218 committed Sep 13, 2024
1 parent b3490e7 commit 4a8c6b3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions internal/sbi/consumer/ausf_service.go
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,8 @@ func (s *nausfService) SendAuth5gAkaConfirmRequest(ue *amf_context.AmfUe, resSta
if err != nil {
return nil, nil, err
}
// splituri = ["","nausf-auth","ue-authentications","{authctxId}","5g-aka-confirmation"]
// authctxId = {authctxId}
splituri := strings.Split(confirmUri.RequestURI(), "/")
authctxId := ""
if len(splituri) > 4 {
Expand Down Expand Up @@ -180,6 +182,8 @@ func (s *nausfService) SendEapAuthConfirmRequest(ue *amf_context.AmfUe, eapMsg n
return nil, nil, err
}

// splituri = ["","nausf-auth","ue-authentications","{authctxId}","eap-session"]
// authctxId = {authctxId}
splituri := strings.Split(confirmUri.RequestURI(), "/")
authctxId := ""
if len(splituri) > 4 {
Expand Down

0 comments on commit 4a8c6b3

Please sign in to comment.