mirror of
https://gitlab.labs.nic.cz/labs/bird.git
synced 2024-05-11 16:54:54 +00:00
Cleanup in iface.c
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user