diff options
| author | Bill Paul <wpaul@FreeBSD.org> | 1995-02-13 01:56:22 +0000 |
|---|---|---|
| committer | Bill Paul <wpaul@FreeBSD.org> | 1995-02-13 01:56:22 +0000 |
| commit | 4b35aae3dda768d624b58725ec599efe66306008 (patch) | |
| tree | 4450c0135681d42b993a99a876687d0fabdadf05 | |
| parent | 911b598f11ae62f9c895ada1c06883858aaf7a44 (diff) | |
Notes
| -rw-r--r-- | usr.sbin/amd/amd/nfs_ops.c | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/usr.sbin/amd/amd/nfs_ops.c b/usr.sbin/amd/amd/nfs_ops.c index bcfd7a598fe1..15974b3018e1 100644 --- a/usr.sbin/amd/amd/nfs_ops.c +++ b/usr.sbin/amd/amd/nfs_ops.c @@ -35,7 +35,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: nfs_ops.c,v 5.2.2.2 1992/05/31 16:35:05 jsp Exp $ + * $Id: nfs_ops.c,v 1.1.1.1 1994/05/26 05:22:02 rgrimes Exp $ */ #ifndef lint @@ -556,6 +556,15 @@ mntfs *mf; if (nfs_args.retrans = hasmntval(&mnt, "retrans")) nfs_args.flags |= NFSMNT_RETRANS; +/* + * How is it possible that 4.4BSD has NFSMNT_RESVPORT but amd + * doesn't know about it?!! + */ +#ifdef NFSMNT_RESVPORT + if (hasmntopt(&mnt, "resvport") != NULL) + nfs_args.flags |= NFSMNT_RESVPORT; +#endif + #ifdef NFSMNT_BIODS if (nfs_args.biods = hasmntval(&mnt, "biods")) nfs_args.flags |= NFSMNT_BIODS; |
