summaryrefslogtreecommitdiffstats
path: root/usr.bin/w/w.1
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>2001-07-26 19:20:13 +0000
committerbrian <brian@FreeBSD.org>2001-07-26 19:20:13 +0000
commitd106b78011ceca12159f46d0be07e2d54237c469 (patch)
treec599bbb38a77546814bca8015ea54095b22da461 /usr.bin/w/w.1
parente8ae8d1bf4f1b0d1984c5a45d58d8994cbee6d48 (diff)
downloadFreeBSD-src-d106b78011ceca12159f46d0be07e2d54237c469.zip
FreeBSD-src-d106b78011ceca12159f46d0be07e2d54237c469.tar.gz
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).
Diffstat (limited to 'usr.bin/w/w.1')
-rw-r--r--usr.bin/w/w.14
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/w/w.1 b/usr.bin/w/w.1
index 5d9d182..8c87a87 100644
--- a/usr.bin/w/w.1
+++ b/usr.bin/w/w.1
@@ -78,9 +78,9 @@ Extract the name list from the specified system instead of the
default
.Dq /kernel .
.It Fl n
-Show network addresses as numbers (normally
+Don't attempt to resolve network addresses (normally
.Nm
-interprets addresses and attempts to display them symbolically).
+interprets addresses and attempts to display them as names).
.El
.Pp
If one or more
OpenPOWER on IntegriCloud