Subject: Re: increasing UT_HOSTSIZE for IPv6?
To: None <tech-userlevel@netbsd.org>
From: Andrew Brown <atatat@atatdot.net>
List: tech-net
Date: 07/23/1999 12:40:12
> 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.
--
|-----< "CODE WARRIOR" >-----|
codewarrior@daemon.org * "ah! i see you have the internet
twofsonet@graffiti.com (Andrew Brown) that goes *ping*!"
andrew@crossbar.com * "information is power -- share the wealth."