File tree 3 files changed +8
-5
lines changed
3 files changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -577,11 +577,9 @@ func (c *SMContext) SelectDefaultDataPath() error {
577
577
578
578
var defaultPath * DataPath
579
579
if GetSelf ().ULCLSupport && CheckUEHasPreConfig (c .Supi ) {
580
- c .Log .Infof ("Has pre-config route " )
580
+ c .Log .Infof ("Has pre-config default path " )
581
581
uePreConfigPaths := GetUEPreConfigPaths (c .Supi , c .SelectedUPF .Name )
582
- c .Tunnel .DataPathPool = uePreConfigPaths .DataPathPool
583
- c .Tunnel .PathIDGenerator = uePreConfigPaths .PathIDGenerator
584
- defaultPath = c .Tunnel .DataPathPool .GetDefaultPath ()
582
+ defaultPath = uePreConfigPaths .DataPathPool .GetDefaultPath ()
585
583
} else if c .Tunnel .DataPathPool .GetDefaultPath () == nil {
586
584
// UE has no pre-config path and default path
587
585
// Use default route
Original file line number Diff line number Diff line change @@ -187,6 +187,9 @@ func (c *SMContext) ApplyPccRules(
187
187
if tgtQosID != "" {
188
188
finalQosDatas [tgtQosID ] = tgtQosData
189
189
}
190
+ if tgtChgID != "" {
191
+ finalChgDatas [tgtChgID ] = tgtChgData
192
+ }
190
193
}
191
194
if err := checkUpPathChangeEvt (c , srcTcData , tgtTcData ); err != nil {
192
195
c .Log .Warnf ("Check UpPathChgEvent err: %v" , err )
Original file line number Diff line number Diff line change @@ -62,7 +62,9 @@ func ActivateUPFSession(
62
62
if node .DownLinkTunnel != nil && node .DownLinkTunnel .PDR != nil {
63
63
pdrList = append (pdrList , node .DownLinkTunnel .PDR )
64
64
farList = append (farList , node .DownLinkTunnel .PDR .FAR )
65
- urrList = append (urrList , node .DownLinkTunnel .PDR .URR ... )
65
+ if node .DownLinkTunnel .PDR .URR != nil {
66
+ urrList = append (urrList , node .DownLinkTunnel .PDR .URR ... )
67
+ }
66
68
// skip send QER because uplink and downlink shared one QER
67
69
}
68
70
You can’t perform that action at this time.
0 commit comments