]> git.proxmox.com Git - mirror_frr.git/commit - ospfd/ospfd.c
ospfd: don't rely on instance existence in vty
authorIgor Ryzhov <iryzhov@nfware.com>
Wed, 27 Jan 2021 23:41:07 +0000 (02:41 +0300)
committerIgor Ryzhov <iryzhov@nfware.com>
Wed, 24 Feb 2021 12:31:20 +0000 (15:31 +0300)
commit409f98ab443682ec360e3e76954f1c8985b3371d
tree817839e523aed152eae3f7336ef4cb431538cb99
parent0ff791138668c50a1c60b209333091682d8926d3
ospfd: don't rely on instance existence in vty

Store instance index at startup and use it when processing vty commands.
The instance itself may be created and deleted by the user in runtime
using `[no] router ospf X` command.

Fixes #7908

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