diff options
Diffstat (limited to 'methods/mirror.h')
-rw-r--r-- | methods/mirror.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/methods/mirror.h b/methods/mirror.h index 0a3ea6e92..97d18144a 100644 --- a/methods/mirror.h +++ b/methods/mirror.h @@ -29,11 +29,13 @@ class MirrorMethod : public HttpMethod vector<string> AllMirrors; // all available mirrors string MirrorFile; // the file that contains the list of mirrors bool DownloadedMirrorFile; // already downloaded this session + string Dist; // the target distrubtion (e.g. sid, oneiric) bool Debug; protected: bool DownloadMirrorFile(string uri); + bool RandomizeMirrorFile(string file); string GetMirrorFileName(string uri); bool InitMirrors(); bool TryNextMirror(); |