mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-11-18 00:58:42 +00:00
Ever test possibility of forming of adjacency.
This commit is contained in:
parent
3e47419274
commit
a3f657ac76
@ -225,15 +225,9 @@ ospf_neigh_sm(struct ospf_neighbor *n, int event)
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case INM_2WAYREC:
|
case INM_2WAYREC:
|
||||||
if(n->state<NEIGHBOR_2WAY)
|
if(n->state<NEIGHBOR_2WAY) neigh_chstate(n,NEIGHBOR_2WAY);
|
||||||
{
|
if((n->state==NEIGHBOR_2WAY) && can_do_adj(n))
|
||||||
/* Can In build adjacency? */
|
|
||||||
neigh_chstate(n,NEIGHBOR_2WAY);
|
|
||||||
if(can_do_adj(n))
|
|
||||||
{
|
|
||||||
neigh_chstate(n,NEIGHBOR_EXSTART);
|
neigh_chstate(n,NEIGHBOR_EXSTART);
|
||||||
}
|
|
||||||
}
|
|
||||||
break;
|
break;
|
||||||
case INM_NEGDONE:
|
case INM_NEGDONE:
|
||||||
if(n->state==NEIGHBOR_EXSTART)
|
if(n->state==NEIGHBOR_EXSTART)
|
||||||
|
Loading…
Reference in New Issue
Block a user