forked from qt-creator/qt-creator
SSH: Fix tunnel test.
Since we're opening the port for IPv4, we must also use an IPv4 host address. Change-Id: I73e009ebd6deb0bd6804cddc8c83299dbfc1b312 Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
This commit is contained in:
@@ -42,8 +42,9 @@ int main(int argc, char *argv[])
|
||||
{
|
||||
QCoreApplication app(argc, argv);
|
||||
bool parseSuccess;
|
||||
const QSsh::SshConnectionParameters ¶meters
|
||||
QSsh::SshConnectionParameters parameters
|
||||
= ArgumentsCollector(app.arguments()).collect(parseSuccess);
|
||||
parameters.host = QLatin1String("127.0.0.1");
|
||||
if (!parseSuccess)
|
||||
return EXIT_FAILURE;
|
||||
Tunnel tunnel(parameters);
|
||||
|
||||
Reference in New Issue
Block a user