summaryrefslogtreecommitdiffstats
path: root/proto/ospf/hello.c
diff options
context:
space:
mode:
authorOndrej Filip <feela@network.cz>2000-05-09 13:29:52 +0200
committerOndrej Filip <feela@network.cz>2000-05-09 13:29:52 +0200
commit551d44438275e9ebc9e7590814f413ac7d0cccd6 (patch)
tree1d4875432296101370f7e80643415487993e9202 /proto/ospf/hello.c
parentb29c620f90d429b868038984a5427470f00aebac (diff)
downloadbird-551d44438275e9ebc9e7590814f413ac7d0cccd6.tar
bird-551d44438275e9ebc9e7590814f413ac7d0cccd6.zip
Sorry, it didn't compile. :-(
Diffstat (limited to 'proto/ospf/hello.c')
-rw-r--r--proto/ospf/hello.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/proto/ospf/hello.c b/proto/ospf/hello.c
index 74ae43a..d15f529 100644
--- a/proto/ospf/hello.c
+++ b/proto/ospf/hello.c
@@ -161,7 +161,7 @@ ospf_hello_rx(struct ospf_hello_packet *ps, struct proto *p,
ospf_int_sm(ifa, ISM_NEICH);
/* Neighbor is no more declaring itself as DR or BDR */
- if(((n->rid==olddr) && (n->dr!=olddr)) || ((n->rid==olbddr) &&
+ if(((n->rid==olddr) && (n->dr!=olddr)) || ((n->rid==oldbdr) &&
(n->dr!=oldbdr)))
ospf_int_sm(ifa, ISM_NEICH);
}