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
wip-string
Jonathan G Rennison 6 months ago committed by GitHub
parent 60565da8f9
commit 2cbe91c312
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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);
}

Loading…
Cancel
Save