From: Ondrej Zajicek (work) Date: Tue, 9 Jul 2019 01:48:02 +0000 (+0200) Subject: OSPF: Update DR when local priority changes X-Git-Tag: v2.0.5~23^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2872ab927ecb94b1555f5e3c8bd33021261d0c54;p=thirdparty%2Fbird.git 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) --- diff --git a/proto/ospf/iface.c b/proto/ospf/iface.c index f5c691993..6e7e498f2 100644 --- a/proto/ospf/iface.c +++ b/proto/ospf/iface.c @@ -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); }