summaryrefslogtreecommitdiffstats
path: root/proto/ospf/hello.c
diff options
context:
space:
mode:
authorOndrej Filip <feela@network.cz>2000-05-09 14:02:48 +0200
committerOndrej Filip <feela@network.cz>2000-05-09 14:02:48 +0200
commit54ac9d2e03c6ae44b4e183c9bcf963196218c477 (patch)
treeec428bada3ce9fad60f9c954a3d984230f26e965 /proto/ospf/hello.c
parent4057093fa40248c5b607039481576a6c5e4e902b (diff)
downloadbird-54ac9d2e03c6ae44b4e183c9bcf963196218c477.tar
bird-54ac9d2e03c6ae44b4e183c9bcf963196218c477.zip
Bugfix in hello.
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 d15f529..f3bd3d5 100644
--- a/proto/ospf/hello.c
+++ b/proto/ospf/hello.c
@@ -162,7 +162,7 @@ ospf_hello_rx(struct ospf_hello_packet *ps, struct proto *p,
/* Neighbor is no more declaring itself as DR or BDR */
if(((n->rid==olddr) && (n->dr!=olddr)) || ((n->rid==oldbdr) &&
- (n->dr!=oldbdr)))
+ (n->bdr!=oldbdr)))
ospf_int_sm(ifa, ISM_NEICH);
}