1
0
mirror of https://gitlab.labs.nic.cz/labs/bird.git synced 2024-05-11 16:54:54 +00:00

Kill remaining master_table relics in KRT code.

Make all protocols pass routing table to rte_update and rte_discard.
This commit is contained in:
Martin Mares
1999-05-17 20:16:53 +00:00
parent 0e02abfd57
commit 4f1a6d27b9
6 changed files with 13 additions and 13 deletions

View File

@@ -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);
}
}