default_ipv6_prefix takes any value, and produces non-compliant addresses
Open
P1
- Dominant language
- Rust
- Stars
- 50
- Forks
- 18
- PR merge metrics
- No merged PRs in 30d
Description
default_ipv6_prefix will take any value - and happily generates non-compliant IPv6 addresses.
A common mistake is for users to put in prefixes like:
"default_ipv6_prefix": "aabb:ccdd:1122:3344"
When the expectation is
"default_ipv6_prefix": "aabb:ccdd:1122:3344:"
emphasis on the last colon. There should be some handling for problematic input like this.
(Let's set aside the minor quirk that the address that comes out of the example is probably non-compliant too.)
Contributor guide
Assessment
This issue has not been assessed yet.