]> git.proxmox.com Git - mirror_frr.git/commit
ospfd: fix processing of SR RI LSAs
authorGalaxyGorilla <sascha@netdef.org>
Mon, 10 Aug 2020 10:25:16 +0000 (10:25 +0000)
committerGalaxyGorilla <sascha@netdef.org>
Mon, 10 Aug 2020 13:52:08 +0000 (13:52 +0000)
commit29df0fc749931650770866f5c358187dffe5060b
tree8b8c4d5ec7c955dca515cd0db9947db9ab6e5e7e
parent84a98cedfb3efac93aef1058730bf1e6ca585fcc
ospfd: fix processing of SR RI LSAs

Router Information are contained in opaque LSAs and when such a LSA
is received a new SR node for the advertising router is created.

However, the RI related data is currently not set when such a SR node
already exists. This can happen when e.g. link and prefix information
arrive before the RI and therefore an SR node is created.

This is now fixed by setting the data everytime the RI is received,
independent of the SR node already existing or not.

Signed-off-by: GalaxyGorilla <sascha@netdef.org>
ospfd/ospf_sr.c