Open fxdupont opened 6 years ago
In the option definitions, we've followed the convention of trying to have a separate leaf for each of the corresponding fields in the option. Propose following this format throughout with a uint8 for the prefix length and an ipv6-address field for the value. I think it would be a good idea to add a description to explain why this approach was taken.
According to RFC 6991 it is pretty clear that the ipv6-prefix type includes the prefix length so in all occurrences of both prefix and prefix-len[ght] the second must be removed.