Adjust message text for ErrAccessControlDialTargetHostNotAllowed

This commit is contained in:
NI
2020-02-08 11:17:16 +08:00
parent 9f31ca5429
commit 921b887550

View File

@@ -26,8 +26,7 @@ import (
// Errors // Errors
var ( var (
ErrAccessControlDialTargetHostNotAllowed = errors.New( ErrAccessControlDialTargetHostNotAllowed = errors.New(
"Refuse to connect to specified target host due to outgoing " + "Unable to dial to the specified remote host due to restriction")
"restriction")
) )
// AllowedHosts contains a map of allowed remote hosts // AllowedHosts contains a map of allowed remote hosts