mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2025-03-21 22:07:03 +00:00
Very ancient bug in (B)DR election, I didn't fill correctly my own IP.
This commit is contained in:
parent
a7a3a0a383
commit
e0bbb7b7ef
@ -310,6 +310,7 @@ bdr_election(struct ospf_iface *ifa, struct proto *p)
|
|||||||
me.priority=ifa->priority;
|
me.priority=ifa->priority;
|
||||||
me.dr=ifa->drid;
|
me.dr=ifa->drid;
|
||||||
me.bdr=ifa->bdrid;
|
me.bdr=ifa->bdrid;
|
||||||
|
me.ip=ifa->iface->addr->ip;
|
||||||
|
|
||||||
add_tail(&ifa->neigh_list, NODE &me);
|
add_tail(&ifa->neigh_list, NODE &me);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user