From 5fdc2980cd58587517009ddefa78d7a1a886c273 Mon Sep 17 00:00:00 2001 From: yzlin Date: Wed, 20 Nov 2024 14:23:15 +0000 Subject: [PATCH] fix: revert ULCL creating default path --- internal/context/sm_context.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/internal/context/sm_context.go b/internal/context/sm_context.go index d8ac995e..c97c8f1e 100644 --- a/internal/context/sm_context.go +++ b/internal/context/sm_context.go @@ -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