From 2001be6cc0926bfb5c38d64b74399beff13e00b2 Mon Sep 17 00:00:00 2001 From: Stephen Worley Date: Wed, 7 Aug 2019 14:06:22 -0400 Subject: [PATCH] zebra: NHE use nexthop_group_equal_no_recurse() Update nhg_hash_entry to use the non-recursive version of nexthop_group_equal() since it doesn't really need to compare all of those. Signed-off-by: Stephen Worley --- zebra/zebra_nhg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zebra/zebra_nhg.c b/zebra/zebra_nhg.c index 9e19c8d0e3..8e7592c2b0 100644 --- a/zebra/zebra_nhg.c +++ b/zebra/zebra_nhg.c @@ -395,7 +395,7 @@ bool zebra_nhg_hash_equal(const void *arg1, const void *arg2) != nexthop_group_active_nexthop_num_no_recurse(nhe2->nhg)) return false; - if (!nexthop_group_equal(nhe1->nhg, nhe2->nhg)) + if (!nexthop_group_equal_no_recurse(nhe1->nhg, nhe2->nhg)) return false; return true; -- 2.39.5