0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-12-22 01:31:55 +00:00

Bugfix in testing of possibility of adjacency.

This commit is contained in:
Ondrej Filip 2000-05-09 12:18:41 +00:00
parent 432996f40f
commit 0e1b949be7

View File

@ -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);