fix mis-spelling in request.go (#3213)

This commit is contained in:
AllenZMC 2019-08-27 21:01:17 +08:00 committed by Chris O'Haver
parent f491880d68
commit 55160492cd

View file

@ -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 {