diff options
author | Ondrej Zajicek (work) <santiago@crfreenet.org> | 2019-07-09 03:48:02 +0200 |
---|---|---|
committer | Ondrej Zajicek (work) <santiago@crfreenet.org> | 2019-07-09 03:48:02 +0200 |
commit | 2872ab927ecb94b1555f5e3c8bd33021261d0c54 (patch) | |
tree | b9be86fc0011a77a57fdbf29a7a7094ee6c6d556 | |
parent | 85840d4c03552a69927b666774fa39921e7b1047 (diff) |
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)
-rw-r--r-- | proto/ospf/iface.c | 1 |
1 files changed, 1 insertions, 0 deletions
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); } |