diff options
author | Christian Kandeler <christian.kandeler@nokia.com> | 2012-02-10 10:39:48 +0100 |
---|---|---|
committer | hjk <qthjk@ovi.com> | 2012-02-10 16:16:42 +0100 |
commit | 220f67dfdf577ecda84fe830b16d6fac4008ccec (patch) | |
tree | 7fe70f06518cd503e76469acf89fce21c0aac7db /src/plugins/remotelinux/remotelinuxusedportsgatherer.cpp | |
parent | 17c18623ef419ee46bb52553324974530e03b1df (diff) | |
download | qt-creator-220f67dfdf577ecda84fe830b16d6fac4008ccec.tar.gz |
SSH: Export information about the underlying TCP connection.
Change-Id: I62bce3b563b6aba481642fac0d427c0f0d3b2ddd
Reviewed-by: hjk <qthjk@ovi.com>
Diffstat (limited to 'src/plugins/remotelinux/remotelinuxusedportsgatherer.cpp')
-rw-r--r-- | src/plugins/remotelinux/remotelinuxusedportsgatherer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/remotelinux/remotelinuxusedportsgatherer.cpp b/src/plugins/remotelinux/remotelinuxusedportsgatherer.cpp index 4dc6b4339b..2b7dd0b80b 100644 --- a/src/plugins/remotelinux/remotelinuxusedportsgatherer.cpp +++ b/src/plugins/remotelinux/remotelinuxusedportsgatherer.cpp @@ -86,7 +86,7 @@ void RemoteLinuxUsedPortsGatherer::start(const Utils::SshConnection::Ptr &connec SLOT(handleRemoteStdErr(QByteArray))); QString procFilePath; int addressLength; - if (connection->ipProtocolVersion() == QAbstractSocket::IPv4Protocol) { + if (connection->connectionInfo().localAddress.protocol() == QAbstractSocket::IPv4Protocol) { procFilePath = QLatin1String("/proc/net/tcp"); addressLength = 8; } else { |