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:
parent
432996f40f
commit
0e1b949be7
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user