aboutsummaryrefslogtreecommitdiff
path: root/sys/nfsclient/bootp_subr.c
diff options
context:
space:
mode:
authorJeff Roberson <jeff@FreeBSD.org>2003-10-04 17:41:59 +0000
committerJeff Roberson <jeff@FreeBSD.org>2003-10-04 17:41:59 +0000
commitb2b64a90d2244a8844dbafe7d193e7cfe1601329 (patch)
tree77f7930403fdfb1ddffb6a44f724e24867c6e7e8 /sys/nfsclient/bootp_subr.c
parent8ec82641d88fbb2447f123bb737522df6108d2cf (diff)
downloadsrc-b2b64a90d2244a8844dbafe7d193e7cfe1601329.tar.gz
src-b2b64a90d2244a8844dbafe7d193e7cfe1601329.zip
- Consistently set sopt_dir.
Pointed out by: pete@isilon.com
Notes
Notes: svn path=/head/; revision=120755
Diffstat (limited to 'sys/nfsclient/bootp_subr.c')
-rw-r--r--sys/nfsclient/bootp_subr.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/nfsclient/bootp_subr.c b/sys/nfsclient/bootp_subr.c
index d5ba66174967..d79ecf8a7058 100644
--- a/sys/nfsclient/bootp_subr.c
+++ b/sys/nfsclient/bootp_subr.c
@@ -599,6 +599,7 @@ bootpc_call(struct bootpc_globalcontext *gctx, struct thread *td)
tv.tv_sec = 1;
tv.tv_usec = 0;
bzero(&sopt, sizeof(sopt));
+ sopt.sopt_dir = SOPT_SET;
sopt.sopt_level = SOL_SOCKET;
sopt.sopt_name = SO_RCVTIMEO;
sopt.sopt_val = &tv;