summaryrefslogtreecommitdiffstats
path: root/proto/ospf/neighbor.c
diff options
context:
space:
mode:
authorOndrej Filip <feela@network.cz>2000-05-09 15:56:47 +0200
committerOndrej Filip <feela@network.cz>2000-05-09 15:56:47 +0200
commit5f743d969739d6dca12b51561baac3131e160429 (patch)
tree8cf14d3cfc9b5ee4e67f669a980fe038899c868a /proto/ospf/neighbor.c
parent5d608eba1636e307624300fdd47b9024be92d39a (diff)
downloadbird-5f743d969739d6dca12b51561baac3131e160429.tar
bird-5f743d969739d6dca12b51561baac3131e160429.zip
Many bugfixes. Actually, how could this ever work? :-)
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 e177c98..96449d1 100644
--- a/proto/ospf/neighbor.c
+++ b/proto/ospf/neighbor.c
@@ -177,7 +177,7 @@ can_do_adj(struct ospf_neighbor *n)
break;
case OSPF_IS_DROTHER:
if(((n->rid==ifa->drid) || (n->rid==ifa->bdrid))
- && (n->state==NEIGHBOR_2WAY)) i=1;
+ && (n->state>=NEIGHBOR_2WAY)) i=1;
break;
case OSPF_IS_PTP:
case OSPF_IS_BACKUP: