Skip to content

Commit

Permalink
fix: revert ULCL creating default path
Browse files Browse the repository at this point in the history
  • Loading branch information
lyz508 committed Nov 20, 2024
1 parent 74e1550 commit 5fdc298
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions internal/context/sm_context.go
Original file line number Diff line number Diff line change
Expand Up @@ -579,6 +579,8 @@ func (c *SMContext) SelectDefaultDataPath() error {
if GetSelf().ULCLSupport && CheckUEHasPreConfig(c.Supi) {
c.Log.Infof("Has pre-config default path")
uePreConfigPaths := GetUEPreConfigPaths(c.Supi, c.SelectedUPF.Name)
c.Tunnel.DataPathPool = uePreConfigPaths.DataPathPool
c.Tunnel.PathIDGenerator = uePreConfigPaths.PathIDGenerator
defaultPath = uePreConfigPaths.DataPathPool.GetDefaultPath()
} else if c.Tunnel.DataPathPool.GetDefaultPath() == nil {
// UE has no pre-config path and default path
Expand Down

0 comments on commit 5fdc298

Please sign in to comment.