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
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