Skip to content

Commit b8e8da1

Browse files
Update handler.go
delete the else and added break
1 parent a6007ee commit b8e8da1

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

internal/gmm/handler.go

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1127,14 +1127,10 @@ func handleRequestedNssai(ue *context.AmfUe, anType models.AccessType) error {
11271127
}
11281128

11291129
if !amfSelf.InPlmnSupportList(reqSnssai) {
1130-
1131-
//ngap_message.SendRerouteNasRequest(ue, anType, nil, ue.RanUe[anType].InitialUEMessage, &allowedNssaiNgap)
11321130
needSliceSelection = true
1133-
} else {
1134-
1135-
}
1131+
break
1132+
}
11361133
}
1137-
11381134
if needSliceSelection {
11391135
if ue.NssfUri == "" {
11401136
for {

0 commit comments

Comments
 (0)