bin/108743: who(1): IPv6 addresses truncated to maximum IPv4
address length
Will Andrews
will at firepipe.net
Thu Mar 8 07:50:09 UTC 2007
The following reply was made to PR bin/108743; it has been noted by GNATS.
From: Will Andrews <will at firepipe.net>
To: bug-followup at freebsd.org
Cc: Net147 at hotmail.com, remko at freebsd.org
Subject: Re: bin/108743: who(1): IPv6 addresses truncated to maximum IPv4 address length
Date: Thu, 8 Mar 2007 00:23:07 -0700
Hi,
This bug can't be fixed very easily. The problem is that element
ut_host of struct utmp in include/utmp.h is fixed in size at 16
bytes. Although I'm sure there is probably a way to obtain the
raw addresses and print them out in who(1)/w(1), it is probably
not worth it. The easier solution would be to expand UT_HOSTSIZE
from 16 to 40 (8 * 4 + 7 + 1 for NUL). However, that would break
the ABI and can only be done on -current at the right time.
--
wca
More information about the freebsd-bugs
mailing list