0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-12-22 17:51:53 +00:00

OSPF: Update DR when local priority changes

When priority is reconfigured locally, we need to trigger DR election.
This commit is contained in:
Ondrej Zajicek (work) 2019-07-10 18:40:15 +02:00
parent d0e4ba4a31
commit e8951ef5de

View File

@ -865,6 +865,7 @@ ospf_iface_reconfigure(struct ospf_iface *ifa, struct ospf_iface_patt *new)
ifname, ifa->priority, new->priority); ifname, ifa->priority, new->priority);
ifa->priority = new->priority; ifa->priority = new->priority;
ospf_iface_sm(ifa, ISM_NEICH);
ospf_notify_link_lsa(ifa); ospf_notify_link_lsa(ifa);
} }