Commit 0ae7d995 authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Fix typo when computing advertised metrics.

parent d39ae418
......@@ -975,7 +975,7 @@ flushupdates(struct network *net)
if(!route_interferes(route, net)) {
metric =
route->refmetric +
(diversity_factor * route->cost / + 128) / 256 +
(diversity_factor * route->cost / 128) / 256 +
route->add_metric;
metric = MAX(metric, route->refmetric + 1);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment