]> git.puffer.fish Git - matthieu/frr.git/commit
ospfd: fix small issue when exiting from the GR helper mode
authorRenato Westphal <renato@opensourcerouting.org>
Mon, 31 May 2021 13:27:51 +0000 (10:27 -0300)
committerIgor Ryzhov <iryzhov@nfware.com>
Wed, 9 Jun 2021 16:26:39 +0000 (19:26 +0300)
commitbb590fa7f232df0f2717716640888ecd26fbc827
treea2623fc664057aae2a53b1382536ad0c26f8720d
parente68ecdc90977c99e5f314eec1ad6838f818ee407
ospfd: fix small issue when exiting from the GR helper mode

When exiting from the GR helper mode, recalculate the DR only for
interfaces of the appropriate types (broadcast and NMBA).

This fixes a problem where the state of a neighbor reachable over a
p2p interface was changing from Full/DROther to Full/Backup across
a graceful restart.

Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
ospfd/ospf_gr_helper.c