diff --git a/connectivity/check/check.go b/connectivity/check/check.go index 9b4e1895b3..94d5220772 100644 --- a/connectivity/check/check.go +++ b/connectivity/check/check.go @@ -107,6 +107,9 @@ func (r *FlowRequirementResults) Merge(from *FlowRequirementResults) { if r.FirstMatch < 0 || from.FirstMatch >= 0 && from.FirstMatch < r.FirstMatch { r.FirstMatch = from.FirstMatch } + if from.FirstMatch > r.LastMatch { + r.LastMatch = from.FirstMatch + } if from.LastMatch > r.LastMatch { r.LastMatch = from.LastMatch }