From f657d618ce5aae9321ca2722e71cdde56f0afacf Mon Sep 17 00:00:00 2001 From: Ed Maste Date: Tue, 28 Sep 2010 01:30:49 +0000 Subject: [PATCH] Increase maximum network timeout from 20s to 120s. Given that an ETIMEDOUT return from sendrecv probably means a failure to boot we might as well be generous in the timeout period. --- lib/libstand/net.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/libstand/net.h b/lib/libstand/net.h index 9434c3ca31f9..94f2aabf81e2 100644 --- a/lib/libstand/net.h +++ b/lib/libstand/net.h @@ -50,7 +50,7 @@ #define MACPY(s, d) bcopy((char *)s, (char *)d, 6) -#define MAXTMO 20 /* seconds */ +#define MAXTMO 120 /* seconds */ #define MINTMO 2 /* seconds */ #define FNAME_SIZE 128