From b9ed99f738c10c0576a9ab8a70b028a92d0d74a7 Mon Sep 17 00:00:00 2001 From: Ondrej Filip Date: Sun, 6 Jun 2004 08:55:33 +0000 Subject: Cleanup in iface.c --- proto/ospf/ospf.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'proto/ospf/ospf.c') 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; @@ -244,6 +244,12 @@ ospf_build_attrs(ea_list *next, struct linpool *pool, u32 m1, u32 m2, u32 tag) return l; } +void +schedule_net_lsa(struct ospf_iface *ifa) +{ + ifa->orignet = 1; +} + void schedule_rt_lsa(struct ospf_area *oa) { -- cgit v1.2.3