]> git.proxmox.com Git - mirror_frr.git/commit
ospfd: fix initialization when vrf doesn't exist yet
authorIgor Ryzhov <iryzhov@nfware.com>
Thu, 12 Aug 2021 12:49:54 +0000 (15:49 +0300)
committerIgor Ryzhov <iryzhov@nfware.com>
Thu, 12 Aug 2021 12:49:54 +0000 (15:49 +0300)
commit5bd78355d1d454ab6537b8fa455e9e21ac4ded57
tree5885217b360c3b238775a4c3964997b0a9f0ff1f
parent45965189819eb0f69cfcfb4307d5116bebd14db0
ospfd: fix initialization when vrf doesn't exist yet

There are a couple of things that are not initialized if the OSPF router
is created in a non-existent VRF:
- ospf_lsa_maxage_walker
- ospf_lsa_refresh_walker
- ospf_opaque_type11_lsa_init

Rearrange some code to always initialize them and make it easier to find
similar problems in the future.

Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
ospfd/ospfd.c