Source-Changes-HG archive

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

[src/netbsd-1-5]: src/usr.sbin/mountd pullup 1.72 -> 1.74 (approved by releng...



details:   https://anonhg.NetBSD.org/src/rev/a33e52758815
branches:  netbsd-1-5
changeset: 488548:a33e52758815
user:      itojun <itojun%NetBSD.org@localhost>
date:      Mon Jul 17 00:47:13 2000 +0000

description:
pullup 1.72 -> 1.74 (approved by releng-1-5)
fatal typo: need listen(tcp6sock).

diffstat:

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

diffs (27 lines):

diff -r ef242e39aa52 -r a33e52758815 usr.sbin/mountd/mountd.c
--- a/usr.sbin/mountd/mountd.c  Sun Jul 16 21:20:52 2000 +0000
+++ b/usr.sbin/mountd/mountd.c  Mon Jul 17 00:47:13 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: mountd.c,v 1.70.2.3 2000/06/27 21:35:32 thorpej Exp $   */
+/*     $NetBSD: mountd.c,v 1.70.2.4 2000/07/17 00:47:13 itojun 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.70.2.3 2000/06/27 21:35:32 thorpej Exp $");
+__RCSID("$NetBSD: mountd.c,v 1.70.2.4 2000/07/17 00:47:13 itojun Exp $");
 #endif
 #endif                         /* not lint */
 
@@ -410,7 +410,7 @@
 
        if (tcp6sock != -1 && tcp6conf != NULL) {
                bindresvport(tcp6sock, NULL);
-               listen(tcpsock, SOMAXCONN);
+               listen(tcp6sock, SOMAXCONN);
                tcp6transp = svc_vc_create(tcp6sock, 0, 0);
                if (tcp6transp != NULL) {
                        if (!svc_reg(tcp6transp, RPCPROG_MNT, RPCMNT_VER1,



Home | Main Index | Thread Index | Old Index