]> 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)
committerDon Slice <dslice@nvidia.com>
Thu, 20 May 2021 16:09:27 +0000 (12:09 -0400)
commitb56114aa9e6cafd4ee4c27bc47e48a1d3b775cb3
tree637d8d6a12fc8d4496cf8f8d0db6008cd899d0b4
parent91895b15a9a11f2b5d156f2ccf904f82c385b9cd
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