From 0e1b949be7f71d038e871dac159b424e76978bff Mon Sep 17 00:00:00 2001 From: Ondrej Filip Date: Tue, 9 May 2000 12:18:41 +0000 Subject: [PATCH] Bugfix in testing of possibility of adjacency. --- proto/ospf/neighbor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proto/ospf/neighbor.c b/proto/ospf/neighbor.c index 27623134..e177c987 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);