]> git.puffer.fish Git - mirror/frr.git/commit
ospfd: fix SPF calculation when changing ABR type 14071/head
authorAlexander Chernavin <achernavin@netgate.com>
Thu, 20 Jul 2023 15:22:03 +0000 (15:22 +0000)
committerAlexander Chernavin <achernavin@netgate.com>
Tue, 25 Jul 2023 15:50:16 +0000 (15:50 +0000)
commitf050e57a2c5de88ccc6c96346c5c99a8571929d6
treedea5435fdf68554e75d66dc3e9b411a6c5fcd2e5
parent3f043d027f29ec676b3abdc46397a863fbd73717
ospfd: fix SPF calculation when changing ABR type

Currently, when changing ABR type on a working router, SPF recalculation
will only be initiated if the OSPF flags have changed after this.
Otherwise, SPF recalculation will be omitted and OSPF RIB update will
not occur. In other words, changing ABR type might not result in
inter-area routes addition/deletion.

With this fix, when ABR type is changed, the command handler initiates
SPF recalculation.

Signed-off-by: Alexander Chernavin <achernavin@netgate.com>
ospfd/ospf_vty.c