Loading go-packages/meep-net-char-mgr/algo-segment.go +3 −1 Original line number Diff line number Diff line Loading @@ -815,9 +815,11 @@ func (algo *SegmentAlgorithm) reCalculateNetChar() { //first time it finds a value, it applies it directly flow.ComputedPacketLoss = segment.ConfiguredNetChar.PacketLoss } else { if segment.ConfiguredNetChar.PacketLoss != 0 { flow.ComputedPacketLoss += (flow.ComputedPacketLoss * (1 - segment.ConfiguredNetChar.PacketLoss)) } } } if algo.Config.LogVerbose { printFlows(segment) } Loading Loading
go-packages/meep-net-char-mgr/algo-segment.go +3 −1 Original line number Diff line number Diff line Loading @@ -815,9 +815,11 @@ func (algo *SegmentAlgorithm) reCalculateNetChar() { //first time it finds a value, it applies it directly flow.ComputedPacketLoss = segment.ConfiguredNetChar.PacketLoss } else { if segment.ConfiguredNetChar.PacketLoss != 0 { flow.ComputedPacketLoss += (flow.ComputedPacketLoss * (1 - segment.ConfiguredNetChar.PacketLoss)) } } } if algo.Config.LogVerbose { printFlows(segment) } Loading