mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-12-22 17:51:53 +00:00
Small bug in neighbor state machine.
This commit is contained in:
parent
fafe44b651
commit
279a3b76d1
@ -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 New Issue
Block a user