Bugfix in hello.
This commit is contained in:
parent
4057093fa4
commit
54ac9d2e03
2 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue