fix mis-spelling in request.go (#3213)
This commit is contained in:
parent
f491880d68
commit
55160492cd
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
// 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.
|
||||
// See: https://open.nlnetlabs.nl/pipermail/nsd-users/2011-November/001278.html
|
||||
if rl > 1480 && r.Family() == 1 {
|
||||
|
|
Loading…
Add table
Reference in a new issue