Bugfix in testing of possibility of adjacency.
This commit is contained in:
parent
432996f40f
commit
0e1b949be7
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue