mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-11-17 16:48:43 +00:00
OSPF: Update DR when local priority changes
When priority is reconfigured locally, we need to trigger DR election. (recommiting, was reset by the previous commit)
This commit is contained in:
parent
85840d4c03
commit
2872ab927e
@ -880,6 +880,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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user