Skip to content

"IPv6 serializer" does not define an algorithm for longest sequence of IPv6 pieces that are 0 #321

Closed
@GPHemsley

Description

Similar to #318, the "IPv6 serializer" requires determining the longest sequence of 0s for IPv6 compression without specifying an algorithm for doing that:

Let compress be an index to the first IPv6 piece in the first longest sequences of address’s IPv6 pieces that are 0.
Example: In 0:f:0:0:f:f:0:0 it would point to the second 0.
If there is no sequence of address’s IPv6 pieces that are 0 that is longer than 1, then set compress to null.

It would be better for implementors if the procedure for doing so were made explicit, as this is another seemingly non-trivial task.

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions