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:
Christian Kandeler
2014-09-11 13:18:39 +02:00
parent 67d18670a3
commit f511344ed0

View File

@@ -42,8 +42,9 @@ int main(int argc, char *argv[])
{
QCoreApplication app(argc, argv);
bool parseSuccess;
const QSsh::SshConnectionParameters &parameters
QSsh::SshConnectionParameters parameters
= ArgumentsCollector(app.arguments()).collect(parseSuccess);
parameters.host = QLatin1String("127.0.0.1");
if (!parseSuccess)
return EXIT_FAILURE;
Tunnel tunnel(parameters);