SIGN IN SIGN UP

Fix tracked routes being collapsed by incomplete comparison (#41393)

Mirrored route tracking used an incomplete comparator that considered only route class, destination address, and metric. Distinct routes with different prefix lengths or next hops could therefore be treated as equivalent and silently omitted.

The fix preserves the existing route-class ordering while using the complete EndpointRoute comparison for route identity. Regression tests cover prefix length, next hop, metric, exact duplicates, and dependency ordering.
F
Feng Wang committed
98892b29140d5bc3aff859aa926aea45587896cf
Parent: e0887b8
Committed by GitHub <noreply@github.com> on 8/26/2026, 3:04:42 AM