0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-11-17 08:38:42 +00:00

Removed the `rta_same' hook since it's no longer needed (all protocols

needing some local information should use extended attrs and cached
rta's).
This commit is contained in:
Martin Mares 1999-03-17 13:13:18 +00:00
parent b77ae37d11
commit c612a3be31
2 changed files with 0 additions and 9 deletions

View File

@ -93,7 +93,6 @@ struct proto {
void (*rt_notify)(struct proto *, struct network *net, struct rte *new, struct rte *old);
void (*neigh_notify)(struct neighbor *neigh);
int (*rta_same)(struct rta *, struct rta *);
int (*rte_better)(struct rte *, struct rte *);
void (*rte_insert)(struct network *, struct rte *);
void (*rte_remove)(struct network *, struct rte *);

View File

@ -578,13 +578,6 @@ rip_rte_better(struct rte *new, struct rte *old)
return 0;
}
static int
rip_rta_same(rta *a, rta *b)
{
/* As we have no specific data in rta, they are always the same */
return 1;
}
static void
rip_rte_insert(net *net, rte *rte)
{
@ -606,7 +599,6 @@ rip_init_instance(struct proto *p)
p->if_notify = rip_if_notify;
p->rt_notify = rip_rt_notify;
p->rte_better = rip_rte_better;
p->rta_same = rip_rta_same;
p->rte_insert = rip_rte_insert;
p->rte_remove = rip_rte_remove;
}