diff options
Diffstat (limited to 'proto')
-rw-r--r-- | proto/rip/rip.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/proto/rip/rip.c b/proto/rip/rip.c index dddf1a52..5bb10693 100644 --- a/proto/rip/rip.c +++ b/proto/rip/rip.c @@ -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; |