]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
Commented out the `inserting entry which is already there' message since
authorMartin Mares <mj@ucw.cz>
Fri, 19 May 2000 11:00:47 +0000 (11:00 +0000)
committerMartin Mares <mj@ucw.cz>
Fri, 19 May 2000 11:00:47 +0000 (11:00 +0000)
it's pretty normal: during feeding of the protocol, a new route can appear
which will be announced normally and then repeated by the feeding process.

proto/rip/rip.c

index dddf1a5226eff4498788a54fddd42679ef98e697..5bb1069375a13428b734410de49bdea02ce541ea 100644 (file)
@@ -777,8 +777,11 @@ rip_rt_notify(struct proto *p, struct network *net, struct rte *new, struct rte
 
   if (new) {
     struct rip_entry *e;
+#if 0
+    /* This can happen since feeding of protocols is asynchronous */
     if (fib_find( &P->rtable, &net->n.prefix, net->n.pxlen ))
       log( L_BUG "Inserting entry which is already there?" );
+#endif
     e = fib_get( &P->rtable, &net->n.prefix, net->n.pxlen );
 
     e->nexthop = new->attrs->gw;