svn commit: r213235 - head/lib/libstand

[ Available lists | Index of svn-src-all | Month of Sep 2010 | Week of 28 Sep 2010 | Raw email | View thread | Wrap long lines | Reply | Tag ]
From
Ed Maste <emaste@FreeBSD.org>
Date
28 Sep 2010 01:30:49
Subject
svn commit: r213235 - head/lib/libstand
Message-ID
201009280130.o8S1UnJC055408@svn.freebsd.org


[ Hide this part ]
Author: emaste
Date: Tue Sep 28 01:30:49 2010
New Revision: 213235
URL: http://svn.freebsd.org/changeset/base/213235

Log:
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.

Modified:
head/lib/libstand/net.h

Modified: head/lib/libstand/net.h
==============================================================================
--- head/lib/libstand/net.h Tue Sep 28 00:13:15 2010 (r213234)
+++ head/lib/libstand/net.h Tue Sep 28 01:30:49 2010 (r213235)
@@ -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


Elapsed time: 0.160 seconds