mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-12-22 09:41:54 +00:00
Bugfix in hello.
This commit is contained in:
parent
4057093fa4
commit
54ac9d2e03
@ -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 New Issue
Block a user