403Webshell
Server IP : 82.208.35.60  /  Your IP : 216.73.216.238
Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31
System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64
User : studiokobylisy_cz ( 1008)
PHP Version : 7.3.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /usr/ports/comms/aprsd/files/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/ports/comms/aprsd/files/patch-src_servers.cpp
--- src/servers.cpp.orig	2003-10-01 16:58:27 UTC
+++ src/servers.cpp
@@ -2283,7 +2283,7 @@ void *TCPServerThread(void *p)
     server.sin_addr.s_addr = INADDR_ANY;
     server.sin_port = htons(sp->ServerPort);
 
-    if (bind(s, (struct sockaddr *)&server, sizeof(server)) <  0) {
+    if (::bind(s, (struct sockaddr *)&server, sizeof(server)) <  0) {
         perror("TCPServerThread bind error");
         ShutDownServer = true;
         return NULL;
@@ -2382,7 +2382,7 @@ void *UDPServerThread(void *p)
     server.sin_port = htons(UDP_Port) ;/* 0 = Use any available port       */
     server.sin_addr.s_addr = INADDR_ANY;	/* Server's Internet Address    */
 
-    if (bind(s, (struct sockaddr *)&server, sizeof(server)) < 0) {
+    if (::bind(s, (struct sockaddr *)&server, sizeof(server)) < 0) {
         perror("Datagram socket bind error");
         ShutDownServer = true;
         return NULL;

Youez - 2016 - github.com/yon3zu
LinuXploit