From d0ddc74f13a981fae1c00394cc34bdf23105882b Mon Sep 17 00:00:00 2001 From: tsc Date: Wed, 7 Feb 2024 04:01:03 -0800 Subject: [PATCH] tngf change Kn3iwf to Knon3gpp --- go.sum | 2 -- internal/ngap/message/build.go | 3 ++- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/go.sum b/go.sum index 0bf08c0a..c876410a 100644 --- a/go.sum +++ b/go.sum @@ -70,8 +70,6 @@ github.com/free5gc/nas v1.1.2-0.20230828074825-175b09665828/go.mod h1:fjWwpyp7/w github.com/free5gc/ngap v1.0.7-0.20230614061954-9c128114ab1f h1:wgXjoknZ7JJoZ72J15g/f2/0DgdCpfcTg189lnhUPuY= github.com/free5gc/ngap v1.0.7-0.20230614061954-9c128114ab1f/go.mod h1:lKA1sLTYM3CGEBhZVxkGGJIkai5+Bvy2yHIMhb7Vx/k= github.com/free5gc/openapi v1.0.6/go.mod h1:iw/N0E+FlX44EEx24IBi2EdZW8v+bkj3ETWPGnlK9DI= -github.com/free5gc/openapi v1.0.7-0.20240117084712-52ad99299693 h1:gFyYBsErQAkx4OVHXYqjO0efO9gPWydQavQcjU0CkHY= -github.com/free5gc/openapi v1.0.7-0.20240117084712-52ad99299693/go.mod h1:qv9KqEucoZSeENPRFGxfTe+33ZWYyiYFx1Rj+H0DoWA= github.com/free5gc/openapi v1.0.7-0.20240206085156-20cdf964e9da h1:vr8v4Fere76nfj0SWpkUeIuUbS4bLPjRQsf3ly1K3fY= github.com/free5gc/openapi v1.0.7-0.20240206085156-20cdf964e9da/go.mod h1:qv9KqEucoZSeENPRFGxfTe+33ZWYyiYFx1Rj+H0DoWA= github.com/free5gc/sctp v0.0.0-20231121085449-400a702ea7f9 h1:L02UI8oODfXgH1fGzWWuWF4zyze4IScEFm20q3PKZdE= diff --git a/internal/ngap/message/build.go b/internal/ngap/message/build.go index 3770497e..ad8adc59 100644 --- a/internal/ngap/message/build.go +++ b/internal/ngap/message/build.go @@ -1082,7 +1082,8 @@ func BuildInitialContextSetupRequest( case models.AccessType__3_GPP_ACCESS: securityKey.Value = ngapConvert.ByteToBitString(amfUe.Kgnb, 256) case models.AccessType_NON_3_GPP_ACCESS: - securityKey.Value = ngapConvert.ByteToBitString(amfUe.Kn3iwf, 256) + // securityKey.Value = ngapConvert.ByteToBitString(amfUe.Kn3iwf, 256) + securityKey.Value = ngapConvert.ByteToBitString(amfUe.Knon3gpp, 256) } initialContextSetupRequestIEs.List = append(initialContextSetupRequestIEs.List, ie)