mirror of
https://gitlab.labs.nic.cz/labs/bird.git
synced 2024-05-11 16:54:54 +00:00
Small bug in neighbor state machine.
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user