mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2025-03-11 17:08:46 +00:00
Bugfix in testing of possibility of adjacency.
This commit is contained in:
parent
432996f40f
commit
0e1b949be7
@ -182,7 +182,7 @@ can_do_adj(struct ospf_neighbor *n)
|
|||||||
case OSPF_IS_PTP:
|
case OSPF_IS_PTP:
|
||||||
case OSPF_IS_BACKUP:
|
case OSPF_IS_BACKUP:
|
||||||
case OSPF_IS_DR:
|
case OSPF_IS_DR:
|
||||||
if(n->state==NEIGHBOR_2WAY) i=1;
|
if(n->state>=NEIGHBOR_2WAY) i=1;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
die("%s: Iface %s in unknown state?",p->name, ifa->iface->name);
|
die("%s: Iface %s in unknown state?",p->name, ifa->iface->name);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user