Ever test possibility of forming of adjacency.
This commit is contained in:
parent
3e47419274
commit
a3f657ac76
1 changed files with 4 additions and 10 deletions
|
@ -225,15 +225,9 @@ ospf_neigh_sm(struct ospf_neighbor *n, int event)
|
|||
}
|
||||
break;
|
||||
case INM_2WAYREC:
|
||||
if(n->state<NEIGHBOR_2WAY)
|
||||
{
|
||||
/* Can In build adjacency? */
|
||||
neigh_chstate(n,NEIGHBOR_2WAY);
|
||||
if(can_do_adj(n))
|
||||
{
|
||||
if(n->state<NEIGHBOR_2WAY) neigh_chstate(n,NEIGHBOR_2WAY);
|
||||
if((n->state==NEIGHBOR_2WAY) && can_do_adj(n))
|
||||
neigh_chstate(n,NEIGHBOR_EXSTART);
|
||||
}
|
||||
}
|
||||
break;
|
||||
case INM_NEGDONE:
|
||||
if(n->state==NEIGHBOR_EXSTART)
|
||||
|
|
Loading…
Reference in a new issue