@@ -52,15 +52,15 @@ func HandlePDUSessionResourceSetupResponseTransfer(b []byte, ctx *SMContext) err
5252 var DCQosFlowPerTNLInformationItem ngapType.QosFlowPerTNLInformationItem
5353 DCQosFlowPerTNLInformation := resourceSetupResponseTransfer .AdditionalDLQosFlowPerTNLInformation
5454 if DCQosFlowPerTNLInformation != nil && len (DCQosFlowPerTNLInformation .List ) > 0 {
55- ctx .HasNRDCSupport = true
55+ ctx .NrdcIndicator = true
5656 DCQosFlowPerTNLInformationItem = DCQosFlowPerTNLInformation .List [0 ]
5757 }
5858
5959 if QosFlowPerTNLInformation .UPTransportLayerInformation .Present !=
6060 ngapType .UPTransportLayerInformationPresentGTPTunnel {
6161 return errors .New ("resourceSetupResponseTransfer.QosFlowPerTNLInformation.UPTransportLayerInformation.Present" )
6262 }
63- if ctx .HasNRDCSupport && DCQosFlowPerTNLInformationItem .QosFlowPerTNLInformation .UPTransportLayerInformation .Present !=
63+ if ctx .NrdcIndicator && DCQosFlowPerTNLInformationItem .QosFlowPerTNLInformation .UPTransportLayerInformation .Present !=
6464 ngapType .UPTransportLayerInformationPresentGTPTunnel {
6565 return errors .New (
6666 "resourceSetupResponseTransfer.AdditionalQosFlowPerTNLInformation." +
@@ -69,14 +69,14 @@ func HandlePDUSessionResourceSetupResponseTransfer(b []byte, ctx *SMContext) err
6969
7070 GTPTunnel := QosFlowPerTNLInformation .UPTransportLayerInformation .GTPTunnel
7171 DCGTPTunnel := & ngapType.GTPTunnel {}
72- if ctx .HasNRDCSupport {
72+ if ctx .NrdcIndicator {
7373 DCGTPTunnel = DCQosFlowPerTNLInformationItem .QosFlowPerTNLInformation .UPTransportLayerInformation .GTPTunnel
7474 }
7575
7676 ctx .Tunnel .UpdateANInformation (
7777 GTPTunnel .TransportLayerAddress .Value .Bytes ,
7878 binary .BigEndian .Uint32 (GTPTunnel .GTPTEID .Value ))
79- if ctx .HasNRDCSupport {
79+ if ctx .NrdcIndicator {
8080 ctx .DCTunnel .UpdateANInformation (
8181 DCGTPTunnel .TransportLayerAddress .Value .Bytes ,
8282 binary .BigEndian .Uint32 (DCGTPTunnel .GTPTEID .Value ))
0 commit comments