Commit fc575fbd authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Search for new route before sending unfeasible requests.

parent f40c453b
......@@ -389,13 +389,12 @@ update_route(const unsigned char *a, const unsigned char *p, unsigned char plen,
route->hold_time = hold_time;
route_changed(route, oldsrc, oldmetric);
if(lost)
route_lost(oldsrc, oldmetric);
if(!feasible)
send_unfeasible_request(neigh, route->installed && route_old(route),
seqno, metric, src);
if(lost)
route_lost(oldsrc, oldmetric);
} else {
if(refmetric >= INFINITY)
/* Somebody's retracting a route we never saw. */
......
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