mirror of
https://github.com/open5gs/open5gs.git
synced 2025-11-02 13:03:31 +00:00
Added a check to ensure that TEID restoration via swap occurs only when F-TEID.ch is false. In the restoration process, when F-TEID.ch is false, it indicates that the TEID has already been assigned, and the swap operation is necessary to restore the TEID. However, if F-TEID.ch is true, it means that the UPF needs to assign a new TEID for the first time, and performing a swap in this case would be incorrect. This check ensures that the swap operation is only triggered when the TEID is already assigned and prevents potential issues during the TEID assignment process.