diff options
| author | Qing Li <qingli@FreeBSD.org> | 2009-09-15 01:01:03 +0000 |
|---|---|---|
| committer | Qing Li <qingli@FreeBSD.org> | 2009-09-15 01:01:03 +0000 |
| commit | 96ed1732bb771985b2ea6da75711625788309cdd (patch) | |
| tree | 3e2fdedb94aa2164e3571cc98d7695a19a289cd5 /sys/nfsclient | |
| parent | 5a73cc12bcee37826ec66322b03b378f1369d399 (diff) | |
Notes
Diffstat (limited to 'sys/nfsclient')
| -rw-r--r-- | sys/nfsclient/nfs_vfsops.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/nfsclient/nfs_vfsops.c b/sys/nfsclient/nfs_vfsops.c index e43f19618be0..06316a861a2f 100644 --- a/sys/nfsclient/nfs_vfsops.c +++ b/sys/nfsclient/nfs_vfsops.c @@ -463,9 +463,13 @@ nfs_mountroot(struct mount *mp) break; } #endif + +#if 0 /* QL: XXX */ error = ifioctl(so, SIOCAIFADDR, (caddr_t)&nd->myif, td); if (error) panic("nfs_mountroot: SIOCAIFADDR: %d", error); +#endif + if ((cp = getenv("boot.netif.mtu")) != NULL) { ir.ifr_mtu = strtol(cp, NULL, 10); bcopy(nd->myif.ifra_name, ir.ifr_name, IFNAMSIZ); |
