diff --git a/net/dns/resolver/neterr_other.go b/net/dns/resolver/neterr_other.go index 236348b56..6d8d17df6 100644 --- a/net/dns/resolver/neterr_other.go +++ b/net/dns/resolver/neterr_other.go @@ -12,4 +12,4 @@ func networkIsUnreachable(err error) bool { return false } // packetWasTruncated returns true if err indicates truncation but the RecvFrom // that generated err was otherwise successful. It always returns false on this // platform. -func packetWasTruncated(err error) bool { return false } +func packetWasTruncated(err error) bool { return false }