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 to HEAD 1.13, per Christos Zou...



details:   https://anonhg.NetBSD.org/src/rev/93a39ccc75d2
branches:  netbsd-1-4
changeset: 468362:93a39ccc75d2
user:      cjs <cjs%NetBSD.org@localhost>
date:      Mon Apr 19 11:45:45 1999 +0000

description:
Pull up to HEAD 1.13, per Christos Zoulas <christos%zoulas.com@localhost>

diffstat:

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

diffs (33 lines):

diff -r 9782a33b2f1e -r 93a39ccc75d2 usr.sbin/amd/amd/srvr_nfs.c
--- a/usr.sbin/amd/amd/srvr_nfs.c       Mon Apr 19 11:43:23 1999 +0000
+++ b/usr.sbin/amd/amd/srvr_nfs.c       Mon Apr 19 11:45:45 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: srvr_nfs.c,v 1.11.2.1 1999/04/07 15:19:28 bouyer Exp $ */
+/*     $NetBSD: srvr_nfs.c,v 1.11.2.2 1999/04/19 11:45:45 cjs Exp $    */
 
 /*
  * Copyright (c) 1997-1999 Erez Zadok
@@ -755,15 +755,17 @@
 #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";
 
+  if (ip) {
+    /*    
+     * 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);  
+  }
+
   plog(XLOG_INFO, "Using NFS version %d, protocol %s on host %s",
        (int) nfs_version, nfs_proto, host);
 



Home | Main Index | Thread Index | Old Index