Source-Changes-HG archive

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

[src/trunk]: src/usr.sbin/mountd Fix bad registration of mountd/tcp/v3 on por...



details:   https://anonhg.NetBSD.org/src/rev/729853ff19ed
branches:  trunk
changeset: 487996:729853ff19ed
user:      hannken <hannken%NetBSD.org@localhost>
date:      Fri Jun 16 11:34:55 2000 +0000

description:
Fix bad registration of mountd/tcp/v3 on port of mountd/udp/v3.

diffstat:

 usr.sbin/mountd/mountd.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r c777c3bd2a7b -r 729853ff19ed usr.sbin/mountd/mountd.c
--- a/usr.sbin/mountd/mountd.c  Fri Jun 16 10:31:03 2000 +0000
+++ b/usr.sbin/mountd/mountd.c  Fri Jun 16 11:34:55 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: mountd.c,v 1.68 2000/06/13 01:08:43 itojun Exp $        */
+/*     $NetBSD: mountd.c,v 1.69 2000/06/16 11:34:55 hannken Exp $       */
 
 /*
  * Copyright (c) 1989, 1993
@@ -51,7 +51,7 @@
 #if 0
 static char     sccsid[] = "@(#)mountd.c  8.15 (Berkeley) 5/1/95";
 #else
-__RCSID("$NetBSD: mountd.c,v 1.68 2000/06/13 01:08:43 itojun Exp $");
+__RCSID("$NetBSD: mountd.c,v 1.69 2000/06/16 11:34:55 hannken Exp $");
 #endif
 #endif                         /* not lint */
 
@@ -374,7 +374,7 @@
                if (tcptransp != NULL) {
                        if (!svc_reg(tcptransp, RPCPROG_MNT, RPCMNT_VER1,
                                mntsrv, tcpconf) ||
-                           !svc_reg(udptransp, RPCPROG_MNT, RPCMNT_VER3,
+                           !svc_reg(tcptransp, RPCPROG_MNT, RPCMNT_VER3,
                                mntsrv, tcpconf))
                                syslog(LOG_WARNING, "can't register TCP service");
                        else



Home | Main Index | Thread Index | Old Index