]> git.puffer.fish Git - matthieu/frr.git/commit
zebra: Pass in ZEBRA_ROUTE_MAX instead of true
authorDonald Sharp <sharpd@nvidia.com>
Fri, 20 Sep 2024 14:58:46 +0000 (10:58 -0400)
committerDonald Sharp <sharpd@nvidia.com>
Fri, 20 Sep 2024 15:00:11 +0000 (11:00 -0400)
commit58722b94484b7838eee15b615909c44ec08289ae
tree77346daf692659614f3e965a61b3af072535892a
parent65609a672f0ad659748fe6e731d1752558d84281
zebra: Pass in ZEBRA_ROUTE_MAX instead of true

zebra_nhg_install_kernel takes a route type.  We don't
know it at that particular spot but we should not be passing
in `true`.  Let's use ZEBRA_ROUTE_MAX to indicate we do not
know, so that the correct thing is done.

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