mirror of
https://github.com/coredns/coredns.git
synced 2025-11-03 02:33:21 -05:00
fix mis-spelling in request.go (#3213)
This commit is contained in:
@@ -240,7 +240,7 @@ func (r *Request) Scrub(reply *dns.Msg) *dns.Msg {
|
|||||||
// Last ditch attempt to avoid fragmentation, if the size is bigger than the v4/v6 UDP fragmentation
|
// Last ditch attempt to avoid fragmentation, if the size is bigger than the v4/v6 UDP fragmentation
|
||||||
// limit and sent via UDP compress it (in the hope we go under that limit). Limits taken from NSD:
|
// limit and sent via UDP compress it (in the hope we go under that limit). Limits taken from NSD:
|
||||||
//
|
//
|
||||||
// .., 1480 (EDNS/IPv4), 1220 (EDNS/IPv6), or the advertized EDNS buffer size if that is
|
// .., 1480 (EDNS/IPv4), 1220 (EDNS/IPv6), or the advertised EDNS buffer size if that is
|
||||||
// smaller than the EDNS default.
|
// smaller than the EDNS default.
|
||||||
// See: https://open.nlnetlabs.nl/pipermail/nsd-users/2011-November/001278.html
|
// See: https://open.nlnetlabs.nl/pipermail/nsd-users/2011-November/001278.html
|
||||||
if rl > 1480 && r.Family() == 1 {
|
if rl > 1480 && r.Family() == 1 {
|
||||||
|
|||||||
Reference in New Issue
Block a user