From owner-cvs-all Thu Jul 26 12:20:19 2001 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id F071737B406; Thu, 26 Jul 2001 12:20:13 -0700 (PDT) (envelope-from brian@FreeBSD.org) Received: (from brian@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f6QJKDF16307; Thu, 26 Jul 2001 12:20:13 -0700 (PDT) (envelope-from brian) Message-Id: <200107261920.f6QJKDF16307@freefall.freebsd.org> From: Brian Somers Date: Thu, 26 Jul 2001 12:20:13 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.bin/w Makefile w.1 w.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG brian 2001/07/26 12:20:13 PDT Modified files: usr.bin/w Makefile w.1 w.c Log: When -n is specified, don't attempt to turn hostnames found in utmp into addresses as we have no idea what address family they belong to. When -n is not specified, resolve IPv6 as well as IPv4 addresses found in the host field of utmp. Use realhostname_sa() to resolve addresses (the old code was wrong). Rename ``x'' to ``x_suffix'' to avoid confusion. Hard code the host column width to 16 (against the imminent increase of UT_HOSTSIZE in utmp.h). Revision Changes Path 1.8 +3 -3 src/usr.bin/w/Makefile 1.17 +3 -3 src/usr.bin/w/w.1 1.48 +40 -41 src/usr.bin/w/w.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message