From 25a19ab557bc9eab5a8a655c3b455e6552499676 Mon Sep 17 00:00:00 2001 From: simon987 Date: Sat, 11 Apr 2020 18:52:43 -0400 Subject: [PATCH] error checker --- core.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core.go b/core.go index 58808f2..dd373a6 100644 --- a/core.go +++ b/core.go @@ -195,7 +195,7 @@ func IsPermanentError(err error) bool { if opErr.Timeout() { // Usually means thalt there is no route to host - return !opErr.Temporary() + return true } switch t := opErr.Err.(type) {