]> git.proxmox.com Git - mirror_frr.git/commit
ospfd: api: fix recovery of LSA after restart of api client
authorChristian Hopps <chopps@labn.net>
Sat, 8 Jan 2022 21:57:10 +0000 (16:57 -0500)
committerChristian Hopps <chopps@labn.net>
Thu, 2 Jun 2022 20:37:16 +0000 (16:37 -0400)
commit5349121b4c6ea2126be87bcbe6400a8f10ea99fc
tree4863a63656b2f3d7ff45f0b6eac69dfe5d030163
parentd86760acad1225dac16776e4cb7366d9b345825c
ospfd: api: fix recovery of LSA after restart of api client

Prior to this fix, restarting the client just failed b/c the code tried to
"refresh" the existing LSA being added, except that code checked for meta-data
to exist, which was deleted when the client disconnected previously (or had
never connected and the LSA state was picked up from the network).

Signed-off-by: Christian Hopps <chopps@labn.net>
ospfd/ospf_apiserver.c
ospfd/ospf_apiserver.h
ospfd/ospf_opaque.c
ospfd/ospf_opaque.h