From fa1e0ba35416561bda3708ec808d24641dd8995f Mon Sep 17 00:00:00 2001 From: "Ondrej Zajicek (work)" Date: Thu, 4 Jul 2019 13:34:42 +0200 Subject: OSPF: Update DR when local priority changes When priority is reconfigured locally, we need to trigger DR election. --- proto/ospf/iface.c | 1 + 1 file changed, 1 insertion(+) (limited to 'proto/ospf/iface.c') diff --git a/proto/ospf/iface.c b/proto/ospf/iface.c index f5c69199..6e7e498f 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); } -- cgit v1.2.3