<[EMAIL PROTECTED]>  Fri Mar  1 22:46:58 2002
X-Envelope-Sender: [EMAIL PROTECTED]
Received: (qmail 5284 invoked from network); 2 Mar 2002 04:46:53 -0000
Received: from yue.hongo.wide.ad.jp ([EMAIL PROTECTED])
  by murphy.debian.org with SMTP; 2 Mar 2002 04:46:53 -0000
Received: from localhost ([EMAIL PROTECTED] [127.0.0.1])
        by yue.hongo.wide.ad.jp (8.9.3+3.2W/8.9.3/Debian 8.9.3-21) with ESMTP 
id NAA32701;
        Sat, 2 Mar 2002 13:47:30 +0900
In-Reply-To: <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]>
        <[EMAIL PROTECTED]>
        <[EMAIL PROTECTED]>
X-URL: http://www.yoshifuji.org/%7Ehideaki/
X-Fingerprint: 90 22 65 EB 1E CF 3A D1 0B DF 80 D8 48 07 F8 94 E0 62 0E EA
X-PGP-Key-URL: http://www.yoshifuji.org/%7Ehideaki/[EMAIL PROTECTED]
Subject: Re: IPv6 support
To: [EMAIL PROTECTED], [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED], [email protected],
        [email protected], [EMAIL PROTECTED]
X-Mailer: Mew version 1.94.2 on Emacs 20.7 / Mule 4.1 (AOI)
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-Id: <[EMAIL PROTECTED]>
Date: Sat, 02 Mar 2002 13:47:30 +0900
From: YOSHIFUJI Hideaki / =?iso-2022-jp?B?GyRCNUhGIzFRTEAbKEI=?= 
        <[EMAIL PROTECTED]>
X-Dispatcher: imput version 991025(IM133)
Lines: 29
X-Spam-Status: No, hits=-7.0 required=5.0 tests=IN_REP_TO,UNIFIED_PATCH 
version=2.01

Hi, (sorry if this message is duplicated...)

In article <[EMAIL PROTECTED]> (at 02 Mar 2002 00:48:20 +0000), Matthew Vernon 
<[EMAIL PROTECTED]> says:

> Mar  2 00:40:07 ming sshd[23005]: Server listening on :: port 22.
> Mar  2 00:40:07 ming sshd[23005]: error: Bind to port 22 on 0.0.0.0
> failed: Address already in use.
:
> Any ideas? I want this to work before I upload it...

Please apply this fix (against openssh-3.0.2p1) to suppress an 
"error" message which have people confused because it is a warning 
in fact.

--- openssh-3.0.2p1/sshd.c      Mon Nov 12 09:07:12 2001
+++ openssh-3.0.2p1-fix/sshd.c  Sat Mar  2 13:11:59 2002
@@ -876,7 +876,7 @@
 
                        /* Bind the socket to the desired port. */
                        if (bind(listen_sock, ai->ai_addr, ai->ai_addrlen) < 0) 
{
-                               if (!ai->ai_next)
+                               if (!num_listen_socks && !ai->ai_next)
                                    error("Bind to port %s on %s failed: 
%.200s.",
                                            strport, ntop, strerror(errno));
                                close(listen_sock);

-- 
Hideaki YOSHIFUJI @ USAGI Project <[EMAIL PROTECTED]>
GPG FP: 9022 65EB 1ECF 3AD1 0BDF  80D8 4807 F894 E062 0EEA


Reply via email to