Skip to content

Commit

Permalink
Merge pull request #351 from prameshj/remove-trunc
Browse files Browse the repository at this point in the history
Remove checking for ErrTruncated, which is now removed.
  • Loading branch information
erikstmartin authored Oct 15, 2019
2 parents 9245f83 + 904dad5 commit 94b2ea0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/stub.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ Redo:
} else {
r, err = exchangeWithRetry(s.dnsUDPclient, req, ns[nsid])
}
if err == nil || err == dns.ErrTruncated {
if err == nil {
r.Compress = true
r.Id = req.Id
w.WriteMsg(r)
Expand Down

0 comments on commit 94b2ea0

Please sign in to comment.