Commit 7ff85b9e authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Stylistic tweak.

parent 2044c8cc
...@@ -905,13 +905,13 @@ flushupdates(struct network *net) ...@@ -905,13 +905,13 @@ flushupdates(struct network *net)
last_prefix = route->src->prefix; last_prefix = route->src->prefix;
last_plen = route->src->plen; last_plen = route->src->plen;
continue; continue;
} else { }
/* check_xroutes sends updates after retracting an xroute, /* If we reach this point, there's no route for this prefix.
so send a retraction if there's no matching route. */ This can happen after an xroute has been retracted, so send
a retraction. */
really_send_update(net, myid, b[i].prefix, b[i].plen, really_send_update(net, myid, b[i].prefix, b[i].plen,
myseqno, INFINITY); myseqno, INFINITY);
} }
}
schedule_flush_now(net); schedule_flush_now(net);
done: done:
free(b); free(b);
......
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