mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-12-22 09:41:54 +00:00
Fixed some FIXME's by deleting them. :-)
This commit is contained in:
parent
8a3049f6f1
commit
9bacea4211
@ -45,6 +45,7 @@ neigh_chstate(struct ospf_neighbor *n, u8 state)
|
|||||||
ifa->fadj++;
|
ifa->fadj++;
|
||||||
originate_rt_lsa(n->ifa->oa,n->ifa->oa->po);
|
originate_rt_lsa(n->ifa->oa,n->ifa->oa->po);
|
||||||
originate_net_lsa(ifa,ifa->oa->po);
|
originate_net_lsa(ifa,ifa->oa->po);
|
||||||
|
tm_stop(n->lsrr_timer);
|
||||||
}
|
}
|
||||||
if(oldstate>=NEIGHBOR_EXSTART && state<NEIGHBOR_EXSTART)
|
if(oldstate>=NEIGHBOR_EXSTART && state<NEIGHBOR_EXSTART)
|
||||||
{
|
{
|
||||||
@ -247,7 +248,6 @@ ospf_neigh_sm(struct ospf_neighbor *n, int event)
|
|||||||
break;
|
break;
|
||||||
case INM_EXDONE:
|
case INM_EXDONE:
|
||||||
neigh_chstate(n,NEIGHBOR_LOADING);
|
neigh_chstate(n,NEIGHBOR_LOADING);
|
||||||
/* FIXME Go on */
|
|
||||||
break;
|
break;
|
||||||
case INM_LOADDONE:
|
case INM_LOADDONE:
|
||||||
neigh_chstate(n,NEIGHBOR_FULL);
|
neigh_chstate(n,NEIGHBOR_FULL);
|
||||||
@ -267,7 +267,6 @@ ospf_neigh_sm(struct ospf_neighbor *n, int event)
|
|||||||
if(!can_do_adj(n))
|
if(!can_do_adj(n))
|
||||||
{
|
{
|
||||||
neigh_chstate(n,NEIGHBOR_2WAY);
|
neigh_chstate(n,NEIGHBOR_2WAY);
|
||||||
/* FIXME Stop timers, kill database... */
|
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
@ -278,7 +277,6 @@ ospf_neigh_sm(struct ospf_neighbor *n, int event)
|
|||||||
if(n->state>=NEIGHBOR_EXCHANGE)
|
if(n->state>=NEIGHBOR_EXCHANGE)
|
||||||
{
|
{
|
||||||
neigh_chstate(n,NEIGHBOR_EXSTART);
|
neigh_chstate(n,NEIGHBOR_EXSTART);
|
||||||
/* FIXME: Go on....*/
|
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case INM_KILLNBR:
|
case INM_KILLNBR:
|
||||||
|
Loading…
Reference in New Issue
Block a user