diff options
author | brian <brian@FreeBSD.org> | 2001-07-26 19:20:13 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 2001-07-26 19:20:13 +0000 |
commit | d106b78011ceca12159f46d0be07e2d54237c469 (patch) | |
tree | c599bbb38a77546814bca8015ea54095b22da461 /usr.bin/w/w.1 | |
parent | e8ae8d1bf4f1b0d1984c5a45d58d8994cbee6d48 (diff) | |
download | FreeBSD-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.1 | 4 |
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 |