~brightbox/bird/debian-packaging

« back to all changes in this revision

Viewing changes to nest/rt-table.c

  • Committer: Ondřej Surý
  • Date: 2013-11-25 14:59:24 UTC
  • Revision ID: git-v1:a3c058b8752bd98df2231ac88d94931fdb4e0c65
New upstream version 1.4.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
636
636
  struct proto *p = ah->proto;
637
637
  struct rtable *table = ah->table;
638
638
  struct proto_stats *stats = ah->stats;
 
639
  static struct rate_limit rl_pipe;
639
640
  rte *before_old = NULL;
640
641
  rte *old_best = net->routes;
641
642
  rte *old = NULL;
659
660
            {
660
661
              if (new)
661
662
                {
662
 
                  log(L_ERR "Pipe collision detected when sending %I/%d to table %s",
 
663
                  log_rl(&rl_pipe, L_ERR "Pipe collision detected when sending %I/%d to table %s",
663
664
                      net->n.prefix, net->n.pxlen, table->name);
664
665
                  rte_free_quick(new);
665
666
                }
1271
1272
static inline int
1272
1273
rt_prune_step(rtable *tab, int step, int *max_feed)
1273
1274
{
 
1275
  static struct rate_limit rl_flush;
1274
1276
  struct fib_iterator *fit = &tab->prune_fit;
1275
1277
 
1276
1278
  DBG("Pruning route table %s\n", tab->name);
1305
1307
              }
1306
1308
 
1307
1309
            if (step)
1308
 
              log(L_WARN "Route %I/%d from %s still in %s after flush",
 
1310
              log_rl(&rl_flush, L_WARN "Route %I/%d from %s still in %s after flush",
1309
1311
                  n->n.prefix, n->n.pxlen, e->attrs->proto->name, tab->name);
1310
1312
 
1311
1313
            rte_discard(tab, e);