diff options
author | Ondrej Filip <feela@network.cz> | 2000-05-09 12:18:41 +0000 |
---|---|---|
committer | Ondrej Filip <feela@network.cz> | 2000-05-09 12:18:41 +0000 |
commit | 0e1b949be7f71d038e871dac159b424e76978bff (patch) | |
tree | 1c5a4edf061b15f7307a4687733eeba23085b089 /proto/ospf | |
parent | 432996f40fceb58cd5ee5026eb4f7018ef6af1ef (diff) |
Bugfix in testing of possibility of adjacency.
Diffstat (limited to 'proto/ospf')
-rw-r--r-- | proto/ospf/neighbor.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |