This commit is contained in:
Mzack9999 2025-08-25 15:33:21 +02:00
parent b61321cd19
commit e83382d4e4

View File

@ -60,7 +60,7 @@ func connect(executionId string, host string, port int, password string) (bool,
} }
if !protocolstate.IsHostAllowed(executionId, host) { if !protocolstate.IsHostAllowed(executionId, host) {
// host is not valid according to network policy // host is not valid according to network policy
return false, protocolstate.ErrHostDenied(host) return false, protocolstate.ErrHostDenied.Msgf(host)
} }
dialer := protocolstate.GetDialersWithId(executionId) dialer := protocolstate.GetDialersWithId(executionId)