]> git.puffer.fish Git - matthieu/frr.git/commit
ospfd: "ip ospf area" command can select wrong process
authorDon Slice <dslice@nvidia.com>
Wed, 19 May 2021 18:23:28 +0000 (14:23 -0400)
committerIgor Ryzhov <iryzhov@nfware.com>
Thu, 27 May 2021 10:18:42 +0000 (13:18 +0300)
commite199a9bf08d5a58811f8731d4fb74b111aa45b4a
tree7481d3068c0bc3e9ffc7ebe854923591e23ca8db
parent5eb2008605aab0b0414fd1f8d1fc19b894657e16
ospfd: "ip ospf area" command can select wrong process

Found that in some circumstances, when the "ip ospf area"
command was entered for the default vrf, the wrong ospf
process would be used to check for the presence of a
"network" statement, causing the "ip ospf area" command to
be rejected. This was due to the command using the ospf
instance lookup to find the right ospf process, which can
be in error depending on when the processes were created.

Signed-off-by: Don Slice <dslice@nvidia.com>
ospfd/ospf_vty.c