in pkg/initalizer/iproute/route_linux.go [47:53]
func (l *agentLink) validateRouteLinkMatch(existingRoute netlink.Route) error {
if existingRoute.LinkIndex != l.link.Attrs().Index {
return fmt.Errorf("expected route %s to be interface index %d but is %d, please remove route and try again",
existingRoute.Dst, l.link.Attrs().Index, existingRoute.LinkIndex)
}
return nil
}