Bugfix in hello.

This commit is contained in:
Ondrej Filip 2000-05-09 12:02:48 +00:00
parent 4057093fa4
commit 54ac9d2e03
2 changed files with 2 additions and 2 deletions

View file

@ -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);
}

View file

@ -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)