summaryrefslogtreecommitdiff
path: root/proto/ospf
diff options
context:
space:
mode:
authorOndrej Filip <feela@network.cz>2000-05-09 10:47:10 +0000
committerOndrej Filip <feela@network.cz>2000-05-09 10:47:10 +0000
commit279a3b76d193944431a992a1ac43543fe15ab903 (patch)
treee20ca4315085168030ae4347c5e582412a918c0d /proto/ospf
parentfafe44b651f68d0a588cac94ddada8a1270adb97 (diff)
Small bug in neighbor state machine.
Diffstat (limited to 'proto/ospf')
-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 0d479df3..317da36d 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;