summaryrefslogtreecommitdiffstats
path: root/mdk-stage1/network.c
diff options
context:
space:
mode:
Diffstat (limited to 'mdk-stage1/network.c')
-rw-r--r--mdk-stage1/network.c3
1 files changed, 3 insertions, 0 deletions
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;