summaryrefslogtreecommitdiff
path: root/lib/sbuf.c
diff options
context:
space:
mode:
authorAlexander Chernavin <achernavin@netgate.com>2023-07-19 12:03:46 +0000
committerAlexander Chernavin <achernavin@netgate.com>2023-07-19 13:12:40 +0000
commitb1f759133b6b909dde73f474f3411fc569fff16d (patch)
tree83d584f177ce11c455ae5f1817b3778f8af35d2b /lib/sbuf.c
parent58560337776556c1a2d8ed3578f6b51e4621fe22 (diff)
ospfd: fix default-metric change if external LSAs already sent
Currently, when redistribution of routes was configured, external LSAs were already advertised to peers, and then default-metric is changed, external LSAs refresh will not occur. In other words, the peers will not receive the refreshed external LSAs with the new metric. With this fix, changing default-metric will cause external LSAs to be refreshed and flooded. There is a similar task to refresh external LSAs when NSSA settings are changed. And there is a function that accomplishes it - ospf_schedule_asbr_nssa_redist_update(). Since the function does the general work of refreshing external LSAs and is not specific to NSSA settings, the idea is to give it a more general name and call it when default-metric changes in order to fix the problem. Signed-off-by: Alexander Chernavin <achernavin@netgate.com>
Diffstat (limited to 'lib/sbuf.c')
0 files changed, 0 insertions, 0 deletions