Ensure next-hop address has the same AF as the route-to address.