From owner-cvs-all Thu Apr 8 14:38:31 1999 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 0428815816; Thu, 8 Apr 1999 14:38:27 -0700 (PDT) (envelope-from brian@FreeBSD.org) Received: (from brian@localhost) by freefall.freebsd.org (8.9.2/8.9.2) id OAA04005; Thu, 8 Apr 1999 14:36:27 -0700 (PDT) (envelope-from brian@FreeBSD.org) Message-Id: <199904082136.OAA04005@freefall.freebsd.org> From: Brian Somers Date: Thu, 8 Apr 1999 14:36:27 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/libexec/telnetd telnetd.c Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk 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