OSPF: Update DR when local priority changes
When priority is reconfigured locally, we need to trigger DR election.
This commit is contained in:
parent
59d3a3611f
commit
fa1e0ba354
1 changed files with 1 additions and 0 deletions
|
@ -880,6 +880,7 @@ ospf_iface_reconfigure(struct ospf_iface *ifa, struct ospf_iface_patt *new)
|
|||
ifname, ifa->priority, new->priority);
|
||||
|
||||
ifa->priority = new->priority;
|
||||
ospf_iface_sm(ifa, ISM_NEICH);
|
||||
ospf_notify_link_lsa(ifa);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue