From 921b8875505a9e5afc3754b03569ecfadad01768 Mon Sep 17 00:00:00 2001 From: NI Date: Sat, 8 Feb 2020 11:17:16 +0800 Subject: [PATCH] Adjust message text for ErrAccessControlDialTargetHostNotAllowed --- application/network/dial_ac.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/application/network/dial_ac.go b/application/network/dial_ac.go index b55411b..acae6ba 100644 --- a/application/network/dial_ac.go +++ b/application/network/dial_ac.go @@ -26,8 +26,7 @@ import ( // Errors var ( ErrAccessControlDialTargetHostNotAllowed = errors.New( - "Refuse to connect to specified target host due to outgoing " + - "restriction") + "Unable to dial to the specified remote host due to restriction") ) // AllowedHosts contains a map of allowed remote hosts