]> git.puffer.fish Git - matthieu/frr.git/commit
lib, zebra: Modify nexthop_cmp to allow you to use weight or not
authorDonald Sharp <sharpd@nvidia.com>
Tue, 20 Aug 2024 12:28:17 +0000 (08:28 -0400)
committerDonald Sharp <sharpd@nvidia.com>
Thu, 22 Aug 2024 17:22:06 +0000 (13:22 -0400)
commitb8e24a0ad07b9190cd6a6d1f9f36bb8805193b48
treedfd3cf4195e6019a6e98b081895268431d8a2e9f
parent05c17eff06536e750d43829ccded5c9e8f0f9ca4
lib, zebra: Modify nexthop_cmp to allow you to use weight or not

Currently nexthop weight is a discriminator on whether or not
a nexthop matches.  There is a need to no use the weight as
part of this comparison function so let's add a boolean to
allow us to say use this or not.

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