Commit 3897740a authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Satisfy requests to wildcard interface early.

parent cc255a87
...@@ -975,8 +975,17 @@ send_update(struct network *net, int urgent, ...@@ -975,8 +975,17 @@ send_update(struct network *net, int urgent,
if(net == NULL) { if(net == NULL) {
struct network *n; struct network *n;
struct route *route;
FOR_ALL_NETS(n) FOR_ALL_NETS(n)
send_update(n, urgent, prefix, plen); 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; 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