Don't compare ports when comparing cached routes.