Subject: Re: bin/15695: who truncates IPv6 addresses
To: None <martti.kuparinen@iki.fi>
From: Jeremy C. Reed <reed@reedmedia.net>
List: netbsd-bugs
Date: 02/22/2002 08:52:11
On Fri, 22 Feb 2002 martti.kuparinen@iki.fi wrote:

> The who command truncates (or is it "struct lastlog" and
> "struct utmp" -- I hope not) IPv6 addresses.

> The real address is xxxx:xxx:8:130:290:27ff:fe5d:a892. I understand
> that the space is limited for w and last but who shouldn't truncate
> the displayed address.

Yes, it needs at least 50 characters (and maybe 46+ for IPv6 that includes
IPv4 at end).

Just to let you know, this has been discussed a few times on
tech-userlevel (1999,2000), tech-net (1999) and current-users (1996).

It is a good that this has PR. Also, important to note that UT_NAMESIZE
should be increased for long usernames.

   Jeremy C. Reed
   http://bsd.reedmedia.net/