Revision de41dcd1 proto/rip/rip.c

View differences:

proto/rip/rip.c
531 531
  WALK_LIST_DELSAFE( e, et, P->garbage ) {
532 532
    rte *rte;
533 533
    rte = SKIP_BACK( struct rte, u.rip.garbage, e );
534
#ifdef LOCAL_DEBUG
535
    {
536
      struct proto *p = rte->attrs->proto;
537
      CHK_MAGIC;
538
    }
534

  
535
    CHK_MAGIC;
536

  
539 537
    DBG( "Garbage: (%p)", rte ); rte_dump( rte );
540
#endif
541 538

  
542 539
    if (now - rte->lastmod > P_CF->timeout_time) {
543 540
      TRACE(D_EVENTS, "entry is too old: %I", rte->net->n.prefix );

Also available in: Unified diff