]> git.puffer.fish Git - mirror/frr.git/commit
lib: Remove tests for ipv[4|6]_prefix_table 12837/head
authorDonald Sharp <sharpd@nvidia.com>
Tue, 21 Feb 2023 20:41:29 +0000 (15:41 -0500)
committerDonald Sharp <sharpd@nvidia.com>
Thu, 23 Mar 2023 12:03:30 +0000 (08:03 -0400)
commit71cb4a57a8a2047623497d2e4100b5c99d236b81
tree613cfba8685772a274a8d9e8900a10c053b16127
parentcc09ba45840fc64e1e4664bfc07ac1b751d3d6d5
lib: Remove tests for ipv[4|6]_prefix_table

During code inspection, it was noticed that the ipv4_prefix_table
as well as the ipv6_prefix_table are always created on map creation.
There are no paths where they are not created, thus testing for
them adds a bit of code that will always be true.  Let's just
remove these extraneous tests.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
lib/routemap.c