Commit fbae153
committed
miekg/dns: fix EDNS-clientsubnet
SUBNET.pack() - Was writing wrong bytes (constants instead of actual IP
address bytes)
SUBNET.Len() - Returned wrong length for IPv4-mapped IPv6 addresses
RFC 7871 non-compliance - Both pack() and unpack() used full address bytes
instead of only the significant bytes based on prefix length.1 parent 7bd1f7a commit fbae153
2 files changed
+27
-9
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments