Skip to content

Commit

Permalink
fix(udm): Get AMF field from UDR Response to authentication-subscript… (
Browse files Browse the repository at this point in the history
#10)

* fix(udm): Get AMF field from UDR Response to authentication-subscription request

* fix golangci-lint error

Co-authored-by: free5GC <free5gc.org@gmail.com>
  • Loading branch information
TomBcom and free5gc-org committed Feb 9, 2022
1 parent bc35319 commit f426a3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion producer/generate_auth_data.go
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ func GenerateAuthDataProcedure(authInfoRequest models.AuthenticationInfoRequest,
return nil, problemDetails
}

AMF, err := hex.DecodeString("8000")
AMF, err := hex.DecodeString(authSubs.AuthenticationManagementField)
if err != nil {
problemDetails = &models.ProblemDetails{
Status: http.StatusForbidden,
Expand Down

0 comments on commit f426a3f

Please sign in to comment.