summaryrefslogtreecommitdiffstats
path: root/proto/ospf/ospf.c
diff options
context:
space:
mode:
authorOndrej Filip <feela@network.cz>2004-06-06 10:55:33 +0200
committerOndrej Filip <feela@network.cz>2004-06-06 10:55:33 +0200
commitb9ed99f738c10c0576a9ab8a70b028a92d0d74a7 (patch)
treeaf0cbca8c4f2f72d5c43d090f7e9a13f7c3deffd /proto/ospf/ospf.c
parenta5918961f3a62c55857f811f712f861fa3d35d4f (diff)
downloadbird-b9ed99f738c10c0576a9ab8a70b028a92d0d74a7.tar
bird-b9ed99f738c10c0576a9ab8a70b028a92d0d74a7.zip
Cleanup in iface.c
Diffstat (limited to 'proto/ospf/ospf.c')
-rw-r--r--proto/ospf/ospf.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/proto/ospf/ospf.c b/proto/ospf/ospf.c
index 02bfd46..79564ed 100644
--- a/proto/ospf/ospf.c
+++ b/proto/ospf/ospf.c
@@ -109,7 +109,7 @@ ospf_start(struct proto *p)
oa->disp_timer->randomize=0;
oa->disp_timer->hook=area_disp;
oa->disp_timer->recurrent=oa->tick;
- tm_start(oa->disp_timer,oa->tick);
+ tm_start(oa->disp_timer, 1);
oa->calcrt=0;
oa->origrt=0;
init_list(&oa->net_list);
@@ -168,7 +168,7 @@ ospf_init(struct proto_config *c)
p->make_tmp_attrs = ospf_make_tmp_attrs;
p->store_tmp_attrs = ospf_store_tmp_attrs;
p->rt_notify = ospf_rt_notify;
- p->if_notify = ospf_if_notify;
+ p->if_notify = ospf_iface_notify;
p->rte_better = ospf_rte_better;
p->rte_same = ospf_rte_same;
@@ -245,6 +245,12 @@ ospf_build_attrs(ea_list *next, struct linpool *pool, u32 m1, u32 m2, u32 tag)
}
void
+schedule_net_lsa(struct ospf_iface *ifa)
+{
+ ifa->orignet = 1;
+}
+
+void
schedule_rt_lsa(struct ospf_area *oa)
{
struct proto_ospf *po=oa->po;