From f7e8812976af24b118b3dbadd1840239bd084905 Mon Sep 17 00:00:00 2001 From: emaste Date: Tue, 28 Sep 2010 01:30:49 +0000 Subject: 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(-) (limited to 'lib/libstand/net.h') diff --git a/lib/libstand/net.h b/lib/libstand/net.h index 9434c3c..94f2aab 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 -- cgit v1.1