[SR-Users] ip address fields
Olle E. Johansson
oej at edvina.net
Mon Oct 22 20:07:36 CEST 2012
22 okt 2012 kl. 19:59 skrev Juha Heinanen <jh at tutpro.com>:
> Daniel-Constantin Mierla writes:
>
>> For safety, i would use 48, to allow zero termination
>
> why 48 when max length of ipv6 addr is 39 chars? did you mean 40?
It's hard to judge the max length of IPv6, since there are many notations. With IPv4 embedded IPv6 the text is expanded. With scoped addresses where the interface name is added, it grows again.
/O
More information about the sr-users
mailing list