]> git.proxmox.com Git - mirror_frr.git/commit
zebra: break if duplicate nexthop found in nhe2grp
authorStephen Worley <sworley@cumulusnetworks.com>
Thu, 26 Mar 2020 14:57:45 +0000 (10:57 -0400)
committerStephen Worley <sworley@cumulusnetworks.com>
Thu, 26 Mar 2020 14:57:45 +0000 (10:57 -0400)
commitd43122b58f4bf9cb729c786b990ae254b8dde35b
treebacb696467f81892ada54bc594e57f05777c8205
parent086e4e02f5fe02849ad9a6c17472094c1c1cbd98
zebra: break if duplicate nexthop found in nhe2grp

If we find that a nexthop is a duplicate, break immediately
rather than continuing to look through the rest of the list.

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