Date: Tue, 06 Apr 1999 16:46:37 +0100 From: Brian Somers <brian@Awfulhak.org> To: Poul-Henning Kamp <phk@critter.freebsd.dk> Cc: Brian Somers <brian@Awfulhak.org>, Mark Murray <mark@grondar.za>, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/crypto/telnet/telnetd telnetd.c Message-ID: <199904061546.QAA15560@keep.lan.Awfulhak.org> In-Reply-To: Your message of "Tue, 06 Apr 1999 17:06:25 %2B0200." <62477.923411185@critter.freebsd.dk>
next in thread | previous in thread | raw e-mail | index | archive | help
[.....]
> >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 <brian@Awfulhak.org> <brian@FreeBSD.org> <brian@OpenBSD.org>
<http://www.Awfulhak.org>
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199904061546.QAA15560>
