mirror of
https://github.com/m13253/dns-over-https.git
synced 2026-11-04 12:58:00 +00:00
Change the ECS prefix length from /48 to /56 for IPv6, per RFC 7871
This commit is contained in:
1 parent
f40116b1f8
commit
ffe5573552
7 files changed
+11
-11
No files matched your search
@@ -119,7 +119,7 @@ func Unmarshal(msg *dns.Msg, resp *Response, udpSize uint16, ednsClientNetmask u
|
||||
if ednsClientFamily == 1 {
|
||||
ednsClientNetmask = 24
|
||||
} else {
|
||||
ednsClientNetmask = 48
|
||||
ednsClientNetmask = 56
|
||||
}
|
||||
}
|
||||
edns0Subnet := new(dns.EDNS0_SUBNET)
|
||||
|
||||
Reference in new issue
Block a user