summaryrefslogtreecommitdiffstats
path: root/mdk-stage1
diff options
context:
space:
mode:
Diffstat (limited to 'mdk-stage1')
-rw-r--r--mdk-stage1/config-stage1.h2
-rw-r--r--mdk-stage1/network.c3
2 files changed, 3 insertions, 2 deletions
diff --git a/mdk-stage1/config-stage1.h b/mdk-stage1/config-stage1.h
index 6a67e34b6..99d773d67 100644
--- a/mdk-stage1/config-stage1.h
+++ b/mdk-stage1/config-stage1.h
@@ -97,8 +97,6 @@
#ifndef DISABLE_NETWORK
#define MIRRORLIST_HOST "www.mandrivalinux.com"
#define MIRRORLIST_PATH "/mirrorsfull.list"
-#define MIRRORLIST_MAX_ITEMS 500
-#define MIRRORLIST_MAX_MEDIA 10
#endif
#endif
diff --git a/mdk-stage1/network.c b/mdk-stage1/network.c
index a931ab8fb..a3ff5e696 100644
--- a/mdk-stage1/network.c
+++ b/mdk-stage1/network.c
@@ -695,6 +695,9 @@ static int mirrorlist_entry_split(const char *entry, char *mirror[4]) /* mirror
}
+#define MIRRORLIST_MAX_ITEMS 500
+#define MIRRORLIST_MAX_MEDIA 10
+
static int choose_mirror_from_host_list(char *mirrorlist[][4], const char *protocol, char *medium, char **selected_host, char **filepath)
{
enum return_type results;