diff options
author | emaste <emaste@FreeBSD.org> | 2010-09-28 01:30:49 +0000 |
---|---|---|
committer | emaste <emaste@FreeBSD.org> | 2010-09-28 01:30:49 +0000 |
commit | f7e8812976af24b118b3dbadd1840239bd084905 (patch) | |
tree | 634cd44454343a5eb0040bc8710c763a6ba89ca0 /lib/libstand/net.h | |
parent | 6e3a6af4dca11cb0ff57310539129574a52697ec (diff) | |
download | FreeBSD-src-f7e8812976af24b118b3dbadd1840239bd084905.zip FreeBSD-src-f7e8812976af24b118b3dbadd1840239bd084905.tar.gz |
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.
Diffstat (limited to 'lib/libstand/net.h')
-rw-r--r-- | lib/libstand/net.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 |