From owner-cvs-all Tue Apr 6 8:55:17 1999 Delivered-To: cvs-all@freebsd.org Received: from awfulhak.org (awfulhak.force9.co.uk [195.166.136.63]) by hub.freebsd.org (Postfix) with ESMTP id 4558F15028; Tue, 6 Apr 1999 08:55:08 -0700 (PDT) (envelope-from brian@lan.awfulhak.org) Received: from keep.lan.Awfulhak.org (keep.lan.Awfulhak.org [172.16.0.8]) by awfulhak.org (8.9.2/8.9.2) with ESMTP id QAA06714; Tue, 6 Apr 1999 16:52:59 +0100 (BST) (envelope-from brian@lan.awfulhak.org) Received: from keep.lan.Awfulhak.org (localhost [127.0.0.1]) by keep.lan.Awfulhak.org (8.9.3/8.9.3) with ESMTP id QAA15560; Tue, 6 Apr 1999 16:46:37 +0100 (BST) (envelope-from brian@keep.lan.Awfulhak.org) Message-Id: <199904061546.QAA15560@keep.lan.Awfulhak.org> X-Mailer: exmh version 2.0.2 2/24/98 To: Poul-Henning Kamp Cc: Brian Somers , Mark Murray , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/crypto/telnet/telnetd telnetd.c In-reply-to: Your message of "Tue, 06 Apr 1999 17:06:25 +0200." <62477.923411185@critter.freebsd.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 06 Apr 1999 16:46:37 +0100 From: Brian Somers Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk [.....] > >Any objections to > > > > void > > utsethost(struct utmp *u, struct in_addr); > > > >in libutil, where u->ut_host is filled in the way rlogind (and now > >telnetd) does it ? > > I think that does too much. I would like it to be available for > other than utmp as well. I'll not protest if you make two > functions, one "raw" and one for "utmp" uses. Ok - perhaps this would be more useful: void realhostname(char *host, size_t hostsize, struct in_addr); and would normally be called as realhostname(u->ut_host, sizeof u->ut_host, ip); > -- > Poul-Henning Kamp FreeBSD coreteam member > phk@FreeBSD.ORG "Real hackers run -current on their laptop." > FreeBSD -- It will take a long time before progress goes too far! -- Brian Don't _EVER_ lose your sense of humour ! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message