|
@@ -1183,7 +1183,7 @@ int Cws_machineEx::runCommand(IEspContext& context, const char* sAddress, const
|
|
|
IFRunSSH * connection = createFRunSSH();
|
|
|
connection->init(command.str(),NULL,NULL,NULL,m_SSHConnectTimeoutSeconds,0);
|
|
|
// executed as single connection
|
|
|
- connection->exec(sAddress,NULL,true);
|
|
|
+ connection->exec(IpAddress(sAddress),NULL,true);
|
|
|
response.append(connection->getReplyText()[0]);
|
|
|
exitCode = connection->getReply()[0];
|
|
|
int len = response.length();
|