Skip to content

Commit

Permalink
Ignore xroutes filtered out.
Browse files Browse the repository at this point in the history
Thanks to Dave Taht for the report.
  • Loading branch information
jech committed Nov 8, 2018
1 parent 72462e4 commit f802293
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions xroute.c
Expand Up @@ -391,6 +391,12 @@ check_xroutes(int send_updates)
i = 0;
j = 0;
while(i < numroutes || j < numxroutes) {
/* Ignore xroutes filtered out. */
if(j < numxroutes && xroutes[j].metric >= INFINITY) {
j++;
continue;
}

if(i >= numroutes)
rc = +1;
else if(j >= numxroutes)
Expand Down

0 comments on commit f802293

Please sign in to comment.