summaryrefslogtreecommitdiffstats
path: root/proto/rip
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>1999-03-17 14:13:18 +0100
committerMartin Mares <mj@ucw.cz>1999-03-17 14:13:18 +0100
commitc612a3be310069b9fbbcfef931bb546d536a716f (patch)
tree6b7a5221866ca582ca71af0a16bf752f766e02ff /proto/rip
parentb77ae37d11aa6e16dce31f50ca42ea30714a793e (diff)
downloadbird-c612a3be310069b9fbbcfef931bb546d536a716f.tar
bird-c612a3be310069b9fbbcfef931bb546d536a716f.zip
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).
Diffstat (limited to 'proto/rip')
-rw-r--r--proto/rip/rip.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/proto/rip/rip.c b/proto/rip/rip.c
index 6cd70d8..249026d 100644
--- a/proto/rip/rip.c
+++ b/proto/rip/rip.c
@@ -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;
}