Commit 3897740a by Juliusz Chroboczek

Satisfy requests to wildcard interface early.

1 parent cc255a87
......@@ -975,8 +975,17 @@ send_update(struct network *net, int urgent,
if(net == NULL) {
struct network *n;
struct route *route;
FOR_ALL_NETS(n)
send_update(n, urgent, prefix, plen);
if(prefix) {
/* Since flushupdates only deals with non-wildcard interfaces, we
need to do this now. */
route = find_installed_route(prefix, plen);
if(route && route->metric < INFINITY)
satisfy_request(prefix, plen, route->src->seqno, route->src->id,
NULL);
}
return;
}
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!