[SR-Users] ip address fields

Richard Fuchs rfuchs at sipwise.com
Mon Oct 22 20:04:47 CEST 2012


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 900 bytes
Desc: OpenPGP digital signature
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20121022/bdf5a0d0/attachment.pgp>


More information about the sr-users mailing list