]> git.ipfire.org Git - thirdparty/unbound.git/commit
Implement IPv4-Embedded addresses according to RFC6052. 402/head
authorFlorian Obser <florian@narrans.de>
Thu, 14 Jan 2021 18:15:30 +0000 (19:15 +0100)
committerFlorian Obser <florian@narrans.de>
Thu, 14 Jan 2021 18:15:30 +0000 (19:15 +0100)
commit285a7fdd2151672ba3d60914848c2113d4ed9d15
tree39e9c7e92a38538d2ac780a59ec44f4088bb7bf2
parent4613d2bf047857442c63d8f9177cda91b82e84e0
Implement IPv4-Embedded addresses according to RFC6052.

The original algorithm assumed that any prefix length would be valid
and did not skip over bits 64 to 71 and set them to zero.
This means that only dns64 prefixes with length 32 and 96 generated
embedded addresses according to RFC6052, cf. Figure 1 in 2.2.
dns64/dns64.c