Subject: Re: increasing UT_HOSTSIZE for IPv6?
To: Andrew Brown <atatat@atatdot.net>
From: None <itojun@iijlab.net>
List: tech-net
Date: 07/24/1999 01:41:03
>> UT_HOSTSIZE (/usr/include/utmp.h) is set to 16. This is not possible
>> to put IPv6 numeric address into ut_host[].
>> IPv6 numeric is usually fit into 40 bytes, in worst case 46 bytes
>> including "\0". Worst case is like follows:
>> 1111:2222:3333:4444:5555:123.123.123.123
>should that not be
> 1111:2222:3333:4444:5555:6666:123.123.123.123
>after all...ipv6 uses a 128 bit address.
Oops sorry, I forgot that I started from 1 :-)
itojun