Commit ed4b8b3f authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Send replies for retracted routes.

parent fc575fbd
...@@ -1368,9 +1368,8 @@ handle_request(struct neighbour *neigh, const unsigned char *prefix, ...@@ -1368,9 +1368,8 @@ handle_request(struct neighbour *neigh, const unsigned char *prefix,
route = find_installed_route(prefix, plen); route = find_installed_route(prefix, plen);
if(route && if(route &&
(route->metric < INFINITY && (memcmp(id, route->src->id, 8) != 0 ||
(memcmp(id, route->src->id, 8) != 0 || seqno_compare(seqno, route->seqno) <= 0)) {
seqno_compare(seqno, route->seqno) <= 0))) {
send_update(neigh->network, 1, prefix, plen); send_update(neigh->network, 1, prefix, plen);
return; return;
} }
......
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