From owner-cvs-all Fri Jul 13 9: 4:12 2001 Delivered-To: cvs-all@freebsd.org Received: from casper.imasy.or.jp (casper.imasy.or.jp [202.227.24.9]) by hub.freebsd.org (Postfix) with ESMTP id 94BDF37B403; Fri, 13 Jul 2001 09:04:06 -0700 (PDT) (envelope-from ume@imasy.or.jp) Received: from piano.mahoroba.org (IDENT:VGx3JeMIK7Xd8MWIm1aKHoc/qo5dbBkJYrcp66AGVrphz4bMd+ZbY79Gi0r+g3gW@piano.calm.imasy.or.jp [2001:200:301:0:240:96ff:fe48:4ea8]) (authenticated as ume with DIGEST-MD5) by casper.imasy.or.jp (8.11.3/8.11.3/casper) with ESMTP/inet6 id f6DG3wR42196 (using TLSv1/SSLv3 with cipher EDH-RSA-DES-CBC3-SHA (168 bits) verified OK); Sat, 14 Jul 2001 01:04:00 +0900 (JST) (envelope-from ume@imasy.or.jp) Received: from piano.mahoroba.org (IDENT:TGRSnuGmr2oi0Wc7kOD8drDiRPTSlpKaPIQNIZxNe5XVpz1MgMnRAGmYKkj1iciW@localhost [IPv6:::1]) by piano.mahoroba.org (8.12.0.Beta12/8.12.0.Beta12/piano) with ESMTP id f6DG3EfX054273; Sat, 14 Jul 2001 01:03:24 +0900 (JST) (envelope-from ume@imasy.or.jp) Date: Sat, 14 Jul 2001 01:03:13 +0900 Message-ID: From: Hajimu UMEMOTO To: Dima Dorfman Cc: ru@freebsd.org, cvs-committers@freebsd.org, cvs-all@freebsd.org Subject: Re: cvs commit: src/libexec/talkd announce.c In-Reply-To: <20010713153647.C5DF83E31@bazooka.unixfreak.org> References: <20010713174937.B94179@sunbay.com> User-Agent: xcite1.38> Wanderlust/2.4.1 (Stand By Me) SEMI/1.13.7 (Awazu) FLIM/1.13.2 (Kasanui) Emacs/20.7 (i386--freebsd) MULE/4.0 (=?ISO-2022-JP?B?GyRCMlYxYxsoQg==?=) X-Operating-System: FreeBSD 4.3-STABLE MIME-Version: 1.0 (generated by SEMI 1.13.7 - "Awazu") Content-Type: text/plain; charset=US-ASCII Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG >>>>> On Fri, 13 Jul 2001 08:36:47 -0700 >>>>> Dima Dorfman said: dima> Ruslan Ermilov writes: > On Fri, Jul 13, 2001 at 07:11:49AM -0700, Dima Dorfman wrote: > > dd 2001/07/13 07:11:49 PDT > > > > Modified files: (Branch: RELENG_4) > > libexec/talkd announce.c > > Log: > > MFC 1.12: print the date in the announcement. > > > > Revision Changes Path > > 1.11.2.1 +4 -2 src/libexec/talkd/announce.c > > > What about my idea of also printing the party's IP address > (hostname) if it's different from the called one? dima> I'm not sure what you're suggesting, or what it has to do with this dima> commit. I've attached a rather crude patch that implements what I dima> think you mean. It changes the "[Connection established.]" message to dima> "[Connection established with user@host.]". Please stop using gethostbyaddr() and IPv4 specific coding anymore. We have getnameinfo() for this purpose. -- Hajimu UMEMOTO @ Internet Mutual Aid Society Yokohama, Japan ume@mahoroba.org ume@bisd.hitachi.co.jp ume@{,jp.}FreeBSD.org http://www.imasy.org/~ume/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message