Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-4]: src/usr.sbin/amd/amd Pull up 1.12: workaround for a problem...



details:   https://anonhg.NetBSD.org/src/rev/4218f62c6372
branches:  netbsd-1-4
changeset: 468102:4218f62c6372
user:      bouyer <bouyer%NetBSD.org@localhost>
date:      Wed Apr 07 15:19:28 1999 +0000

description:
Pull up 1.12: workaround for a problem with SunOS 4 servers (either a bug in
SunOS4 or our RPC).

diffstat:

 usr.sbin/amd/amd/srvr_nfs.c |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (22 lines):

diff -r 9bb766b06054 -r 4218f62c6372 usr.sbin/amd/amd/srvr_nfs.c
--- a/usr.sbin/amd/amd/srvr_nfs.c       Wed Apr 07 15:04:22 1999 +0000
+++ b/usr.sbin/amd/amd/srvr_nfs.c       Wed Apr 07 15:19:28 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: srvr_nfs.c,v 1.11 1999/03/30 08:23:26 bouyer Exp $     */
+/*     $NetBSD: srvr_nfs.c,v 1.11.2.1 1999/04/07 15:19:28 bouyer Exp $ */
 
 /*
  * Copyright (c) 1997-1999 Erez Zadok
@@ -755,6 +755,12 @@
 #endif /* not HAVE_FS_NFS3 */
   }
 
+  /*    
+   * XXX RPC or SunOS 4.1.4 bug ? the last call to nfs_get_version() must  
+   * be done with the used version and proto  
+   */  
+  (void)get_nfs_version(host, ip, nfs_version, nfs_proto);  
+
   if (!nfs_proto)
     nfs_proto = "udp";
 



Home | Main Index | Thread Index | Old Index