From: Ondrej Zajicek (work) Date: Wed, 10 Jul 2019 16:40:15 +0000 (+0200) Subject: OSPF: Update DR when local priority changes X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e8951ef5de9a9d797c922143808abc12252df4ab;p=thirdparty%2Fbird.git OSPF: Update DR when local priority changes When priority is reconfigured locally, we need to trigger DR election. --- diff --git a/proto/ospf/iface.c b/proto/ospf/iface.c index 09b43d9fa..adcb83571 100644 --- a/proto/ospf/iface.c +++ b/proto/ospf/iface.c @@ -865,6 +865,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); }