mirror of
https://github.com/coredns/coredns.git
synced 2025-10-28 00:34:24 -04:00
plugin/forward: fix a typo (#3133)
This commit is contained in:
@@ -113,7 +113,7 @@ func (f *Forward) ServeDNS(ctx context.Context, w dns.ResponseWriter, r *dns.Msg
|
|||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
// Retry with TCP if truncated and prefer_udp configured.
|
// Retry with TCP if truncated and prefer_udp configured.
|
||||||
if ret != nil && ret.Truncated && !opts.forceTCP && f.opts.preferUDP {
|
if ret != nil && ret.Truncated && !opts.forceTCP && opts.preferUDP {
|
||||||
opts.forceTCP = true
|
opts.forceTCP = true
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user