Lines 1-4
Link Here
|
1 |
--- src/sshprocess.cpp.orig 2016-03-24 20:39:27 UTC |
1 |
--- src/sshprocess.cpp.orig 2018-11-04 13:15:51 UTC |
2 |
+++ src/sshprocess.cpp |
2 |
+++ src/sshprocess.cpp |
3 |
@@ -24,6 +24,9 @@ |
3 |
@@ -24,6 +24,9 @@ |
4 |
|
4 |
|
Lines 10-15
Link Here
|
10 |
#include <arpa/inet.h> |
10 |
#include <arpa/inet.h> |
11 |
#include <netinet/tcp.h> |
11 |
#include <netinet/tcp.h> |
12 |
#endif |
12 |
#endif |
|
|
13 |
@@ -140,7 +143,7 @@ void SshProcess::tunnelLoop() |
14 |
address.sin_family=AF_INET; |
15 |
address.sin_addr.s_addr=INADDR_ANY; |
16 |
address.sin_port=htons(localPort); |
17 |
- if (bind(serverSocket,(struct sockaddr*) &address,sizeof(address))!=0) |
18 |
+ if (::bind(serverSocket,(struct sockaddr*) &address,sizeof(address))!=0) |
19 |
{ |
20 |
QString err=tr("Error binding ")+localHost+":"+QString::number(localPort); |
21 |
x2goDebug<<err<<endl; |
13 |
@@ -200,7 +203,7 @@ void SshProcess::startNormal(const QStri |
22 |
@@ -200,7 +203,7 @@ void SshProcess::startNormal(const QStri |
14 |
// #endif |
23 |
// #endif |
15 |
if(!masterCon->useKerberos()) |
24 |
if(!masterCon->useKerberos()) |