Revision f7ad556f proto/rip/rip.c

View differences:

proto/rip/rip.c
777 777

  
778 778
  if (new) {
779 779
    struct rip_entry *e;
780
#if 0
781
    /* This can happen since feeding of protocols is asynchronous */
780 782
    if (fib_find( &P->rtable, &net->n.prefix, net->n.pxlen ))
781 783
      log( L_BUG "Inserting entry which is already there?" );
784
#endif
782 785
    e = fib_get( &P->rtable, &net->n.prefix, net->n.pxlen );
783 786

  
784 787
    e->nexthop = new->attrs->gw;

Also available in: Unified diff