Skip to content

Commit

Permalink
Fix: selectAnchorUPF returns UPF only (#56)
Browse files Browse the repository at this point in the history
  • Loading branch information
mariakagi authored Jun 28, 2022
1 parent c005646 commit 8e6aa4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/context/user_plane_information.go
Original file line number Diff line number Diff line change
Expand Up @@ -496,7 +496,7 @@ func (upi *UserPlaneInformation) selectAnchorUPF(source *UPNode, selection *UPFS
}
}
}
if !findNewNode {
if !findNewNode && node.Type == UPNODE_UPF {
upList = append(upList, node)
}
if len(queue) == 0 {
Expand Down

0 comments on commit 8e6aa4b

Please sign in to comment.