Date: Thu, 8 Apr 1999 14:36:27 -0700 (PDT) From: Brian Somers <brian@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/libexec/telnetd telnetd.c Message-ID: <199904082136.OAA04005@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
brian 1999/04/08 14:36:27 PDT
Modified files:
libexec/telnetd telnetd.c
Log:
Determine the host name using an array size of
MAXHOSTNAMELEN and call trimdomain() before implementing
the -u option.
This allows local hosts of a lan with a long domain name to
appear properly in utmp by base host name (w/o domain) rather
than by IP number.
Revision Changes Path
1.20 +3 -2 src/libexec/telnetd/telnetd.c
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?199904082136.OAA04005>
