On 10/22/12 13:59, Juha Heinanen wrote:
> 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?

If you use 4-in-6 mapped format, omit zeroes compression and add square
brackets, you get 47 characters:

[0000:0000:0000:0000:0000:ffff:123.123.123.123]

cheers

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

Reply via email to