Skip to content

Commit

Permalink
fix: panic is only have one slice in configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
ianchen0119 committed Oct 28, 2024
1 parent abda2be commit 2d8b22a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/ike/handler/security.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ func BuildEAP5GANParameters() []byte {
anParameters = append(anParameters, anParameter...)

// Build NSSAI
anParameter = make([]byte, len(factory.N3ueInfo.SmPolicy))
anParameter = make([]byte, 2)
var nssai []byte

for _, SmPolicy := range factory.N3ueInfo.SmPolicy {
Expand Down

0 comments on commit 2d8b22a

Please sign in to comment.