diff options
| author | Mike Smith <msmith@FreeBSD.org> | 1999-11-01 23:55:38 +0000 |
|---|---|---|
| committer | Mike Smith <msmith@FreeBSD.org> | 1999-11-01 23:55:38 +0000 |
| commit | b7017a821026b7db5f6a42754befdd8a92e5041e (patch) | |
| tree | 761babed4a21e25bd5af6161657b0afe68c18553 /sys/nfsclient | |
| parent | b676e48c981f8c6b006dda8f3160b6087c928c5c (diff) | |
Notes
Diffstat (limited to 'sys/nfsclient')
| -rw-r--r-- | sys/nfsclient/nfs_vfsops.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/nfsclient/nfs_vfsops.c b/sys/nfsclient/nfs_vfsops.c index d63f38dc3db7..dc9e053ac8cd 100644 --- a/sys/nfsclient/nfs_vfsops.c +++ b/sys/nfsclient/nfs_vfsops.c @@ -37,6 +37,8 @@ * $FreeBSD$ */ +#include "opt_bootp.h" + #include <sys/param.h> #include <sys/sockio.h> #include <sys/proc.h> @@ -399,6 +401,10 @@ nfs_mountroot(mp) u_long l; char buf[128]; +#if defined(BOOTP_NFSROOT) && defined(BOOTP) + bootpc_init(); /* use bootp to get nfs_diskless filled in */ +#endif + /* * XXX time must be non-zero when we init the interface or else * the arp code will wedge... |
