mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-04 22:14:49 +00:00
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 <sworley@cumulusnetworks.com>
This commit is contained in:
parent
2171b19c5a
commit
2001be6cc0
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user