]> git.proxmox.com Git - mirror_frr.git/commit
lib: Add tail check before nexthop insertion
authorStephen Worley <sworley@cumulusnetworks.com>
Mon, 5 Aug 2019 19:30:05 +0000 (15:30 -0400)
committerStephen Worley <sworley@cumulusnetworks.com>
Mon, 19 Aug 2019 17:55:50 +0000 (13:55 -0400)
commit8c15fa95a81fe0062556e3b64df29509eeb035e6
treec42aee9e8112a24006a4410345cfc2842622c8fb
parent604321440e27dd2b1c6d698f721541ebc251934c
lib: Add tail check before nexthop insertion

Add a tail check to see if we can just put the nexthop
at the end of the already sorted list before iteration.

Signed-off-by: Stephen Worley <sworley@cumulusnetworks.com>
lib/nexthop_group.c