Small bug in neighbor state machine.
This commit is contained in:
parent
fafe44b651
commit
279a3b76d1
1 changed files with 1 additions and 1 deletions
|
@ -288,7 +288,7 @@ ospf_neigh_sm(struct ospf_neighbor *n, int event)
|
||||||
case INM_1WAYREC:
|
case INM_1WAYREC:
|
||||||
if(n->state>=NEIGHBOR_2WAY)
|
if(n->state>=NEIGHBOR_2WAY)
|
||||||
{
|
{
|
||||||
neigh_chstate(n,NEIGHBOR_DOWN);
|
neigh_chstate(n,NEIGHBOR_INIT);
|
||||||
ospf_int_sm(n->ifa, ISM_NEICH);
|
ospf_int_sm(n->ifa, ISM_NEICH);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue