Commit 2872ab92 authored by Ondrej Zajicek (work)'s avatar Ondrej Zajicek (work)
Browse files

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)
parent 85840d4c
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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);
  }