From 2cbe91c3126a839e63948c81e4e01dde80a8cddc Mon Sep 17 00:00:00 2001 From: Jonathan G Rennison Date: Thu, 7 Dec 2023 18:38:43 +0000 Subject: [PATCH] Fix #11551, aab580e0a: Link graph job results were incorrectly applied (#11558) Edge flows were incorrectly restricted because the restricted instead of unrestricted last update date was checked See also: #10314 --- src/linkgraph/linkgraphjob.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/linkgraph/linkgraphjob.cpp b/src/linkgraph/linkgraphjob.cpp index 26fafbe613..a4ca8ae2f2 100644 --- a/src/linkgraph/linkgraphjob.cpp +++ b/src/linkgraph/linkgraphjob.cpp @@ -138,7 +138,7 @@ LinkGraphJob::~LinkGraphJob() * from the new flows. This avoids flow cycles between old and * new flows. */ while (!erased.IsEmpty()) ge.flows.erase(erased.Pop()); - } else if ((*lg)[node_id][dest_id].last_restricted_update == CalendarTime::INVALID_DATE) { + } else if ((*lg)[node_id][dest_id].last_unrestricted_update == CalendarTime::INVALID_DATE) { /* Edge is fully restricted. */ flows.RestrictFlows(to); }