diff options
-rw-r--r-- | nest/rt-table.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/nest/rt-table.c b/nest/rt-table.c index 621a8353..4da6807a 100644 --- a/nest/rt-table.c +++ b/nest/rt-table.c @@ -328,11 +328,13 @@ rt_prune(rtable *tab) net *n = (net *) f; rte *e; ncnt++; + rescan: for (e=n->routes; e; e=e->next, rcnt++) if (e->attrs->proto->core_state != FS_HAPPY) { rte_discard(e); rdel++; + goto rescan; } if (!n->routes) /* Orphaned FIB entry? */ { |