(svn r25899) -Change: Restrict flows if links are restricted and don't normally pick them anymore.

This commit is contained in:
fonsinchen
2013-10-22 16:13:54 +00:00
parent d0c610f0ec
commit 7025a145e3
5 changed files with 164 additions and 20 deletions

View File

@@ -69,6 +69,9 @@ LinkGraphJob::~LinkGraphJob()
(*lg)[node_id][it->first].LastUpdate() == INVALID_DATE) {
/* Edge has been removed. Delete flows. */
flows.DeleteFlows(to);
} else if ((*lg)[node_id][it->first].LastUnrestrictedUpdate() == INVALID_DATE) {
/* Edge is fully restricted. */
flows.RestrictFlows(to);
}
}