summaryrefslogtreecommitdiffstats
path: root/proto/ospf/neighbor.c
diff options
context:
space:
mode:
authorOndrej Filip <feela@network.cz>2000-05-09 12:47:10 +0200
committerOndrej Filip <feela@network.cz>2000-05-09 12:47:10 +0200
commit279a3b76d193944431a992a1ac43543fe15ab903 (patch)
treee20ca4315085168030ae4347c5e582412a918c0d /proto/ospf/neighbor.c
parentfafe44b651f68d0a588cac94ddada8a1270adb97 (diff)
downloadbird-279a3b76d193944431a992a1ac43543fe15ab903.tar
bird-279a3b76d193944431a992a1ac43543fe15ab903.zip
Small bug in neighbor state machine.
Diffstat (limited to 'proto/ospf/neighbor.c')
-rw-r--r--proto/ospf/neighbor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/proto/ospf/neighbor.c b/proto/ospf/neighbor.c
index 0d479df..317da36 100644
--- a/proto/ospf/neighbor.c
+++ b/proto/ospf/neighbor.c
@@ -288,7 +288,7 @@ ospf_neigh_sm(struct ospf_neighbor *n, int event)
case INM_1WAYREC:
if(n->state>=NEIGHBOR_2WAY)
{
- neigh_chstate(n,NEIGHBOR_DOWN);
+ neigh_chstate(n,NEIGHBOR_INIT);
ospf_int_sm(n->ifa, ISM_NEICH);
}
break;