summaryrefslogtreecommitdiffstats
path: root/proto/ospf
diff options
context:
space:
mode:
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 2762313..e177c98 100644
--- a/proto/ospf/neighbor.c
+++ b/proto/ospf/neighbor.c
@@ -182,7 +182,7 @@ can_do_adj(struct ospf_neighbor *n)
case OSPF_IS_PTP:
case OSPF_IS_BACKUP:
case OSPF_IS_DR:
- if(n->state==NEIGHBOR_2WAY) i=1;
+ if(n->state>=NEIGHBOR_2WAY) i=1;
break;
default:
die("%s: Iface %s in unknown state?",p->name, ifa->iface->name);