diff options
author | Ondrej Filip <feela@network.cz> | 2000-05-09 14:18:41 +0200 |
---|---|---|
committer | Ondrej Filip <feela@network.cz> | 2000-05-09 14:18:41 +0200 |
commit | 0e1b949be7f71d038e871dac159b424e76978bff (patch) | |
tree | 1c5a4edf061b15f7307a4687733eeba23085b089 | |
parent | 432996f40fceb58cd5ee5026eb4f7018ef6af1ef (diff) | |
download | bird-0e1b949be7f71d038e871dac159b424e76978bff.tar bird-0e1b949be7f71d038e871dac159b424e76978bff.zip |
Bugfix in testing of possibility of adjacency.
-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 2762313..e177c98 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); |