blob: 112295c7e64eff892b56c736c0db8716e4960394 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
--- x11/serverping.cpp.orig
+++ x11/serverping.cpp
@@ -172,7 +172,7 @@
client.sin_family = AF_INET;
client.sin_addr.s_addr = htonl(INADDR_ANY);
client.sin_port = htons((u_short)clientPort);
- if (bind(udpSock,(CMN_SOCKADDR *)&client,sizeof(client)) < 0) {
+ if (::bind(udpSock,(CMN_SOCKADDR *)&client,sizeof(client)) < 0) {
ostrstream str;
str << "Could not bind local UDP port " << clientPort << ends;
error(str.str());
|