From owner-cvs-all Tue Apr 6 8: 8:45 1999 Delivered-To: cvs-all@freebsd.org Received: from phk.freebsd.dk (phk.freebsd.dk [212.242.40.153]) by hub.freebsd.org (Postfix) with ESMTP id 24E9E14C28; Tue, 6 Apr 1999 08:08:40 -0700 (PDT) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.40.131]) by phk.freebsd.dk (8.9.1/8.8.8) with ESMTP id RAA22607; Tue, 6 Apr 1999 17:06:41 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.9.2/8.9.2) with ESMTP id RAA62479; Tue, 6 Apr 1999 17:06:25 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) To: Brian Somers Cc: Mark Murray , Brian Somers , 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 15:30:47 BST." <199904061430.PAA14752@keep.lan.Awfulhak.org> Date: Tue, 06 Apr 1999 17:06:25 +0200 Message-ID: <62477.923411185@critter.freebsd.dk> From: Poul-Henning Kamp Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk In message <199904061430.PAA14752@keep.lan.Awfulhak.org>, Brian Somers writes: >> In message <199904061329.PAA56207@greenpeace.grondar.za>, Mark Murray writes: >> >Brian Somers wrote: >> >> Suggested by: markm >> >> Isn't it time to make this a library function rather than have it replicated >> all over the place ? > >Yep - I'm looking at that now. > >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. -- 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! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message