diff options
author | Ondrej Filip <feela@network.cz> | 2000-05-09 12:02:48 +0000 |
---|---|---|
committer | Ondrej Filip <feela@network.cz> | 2000-05-09 12:02:48 +0000 |
commit | 54ac9d2e03c6ae44b4e183c9bcf963196218c477 (patch) | |
tree | ec428bada3ce9fad60f9c954a3d984230f26e965 /proto/ospf | |
parent | 4057093fa40248c5b607039481576a6c5e4e902b (diff) |
Bugfix in hello.
Diffstat (limited to 'proto/ospf')
-rw-r--r-- | proto/ospf/hello.c | 2 | ||||
-rw-r--r-- | proto/ospf/iface.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/proto/ospf/hello.c b/proto/ospf/hello.c index d15f5297..f3bd3d56 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); } diff --git a/proto/ospf/iface.c b/proto/ospf/iface.c index 908ec587..8dec4fad 100644 --- a/proto/ospf/iface.c +++ b/proto/ospf/iface.c @@ -76,7 +76,7 @@ ospf_int_sm(struct ospf_iface *ifa, int event) struct proto *p=(struct proto *)(ifa->proto); struct proto_ospf *po=ifa->proto; - DBG("%s: SM on iface %s. Event is \"%s\".\n", + debug("%s: SM on iface %s. Event is \"%s\".\n", p->name, ifa->iface->name, ospf_ism[event]); switch(event) |