diff options
Diffstat (limited to 'proto/rip')
-rw-r--r-- | proto/rip/rip.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/proto/rip/rip.c b/proto/rip/rip.c index 4a3e10a..16c63ae 100644 --- a/proto/rip/rip.c +++ b/proto/rip/rip.c @@ -223,7 +223,7 @@ advertise_entry( struct proto *p, struct rip_block *b, ip_addr whotoldme ) r->u.rip.tag = ntohl(b->tag); r->net = n; r->pflags = 0; /* Here go my flags */ - rte_update( n, p, r ); + rte_update( p->table, n, p, r ); DBG( "done\n" ); } @@ -356,7 +356,7 @@ rip_timer(timer *t) if (now - rte->lastmod > P_CF->garbage_time) { debug( "RIP: entry is too old: " ); rte_dump( rte ); - rte_discard(rte); + rte_discard(p->table, rte); } } |