opnsense-ports/net/xprobe/files/patch-src-xplib-xp_lib.cc
Franco Fichtner c848f058a1 */*: sync with upstream
Taken from: HardenedBSD
2018-02-10 04:03:05 +01:00

11 lines
374 B
C++

--- src/xplib/xp_lib.cc.orig 2005-07-27 08:38:16 UTC
+++ src/xplib/xp_lib.cc
@@ -82,7 +82,7 @@ int xp_lib::OpenUDPSocket(struct sockadd
return FAIL;
}
if (bind_sin != NULL)
- if (bind(sock, (struct sockaddr *)bind_sin, sizeof(struct sockaddr_in)) == -1) {
+ if (::bind(sock, (struct sockaddr *)bind_sin, sizeof(struct sockaddr_in)) == -1) {
return FAIL;
}