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/net-p2p/udpt/files/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/ports/net-p2p/udpt/files/patch-src_udpTracker.cpp
--- src/udpTracker.cpp.orig	2020-02-02 18:34:05 UTC
+++ src/udpTracker.cpp
@@ -169,7 +169,7 @@ namespace UDPT
 		yup = 1;
 		setsockopt(sock, SOL_SOCKET, SO_REUSEADDR, (const char*)&yup, 1);
 
-		r = bind (sock, (SOCKADDR*)&recvAddr, sizeof(SOCKADDR_IN));
+		r = ::bind (sock, (SOCKADDR*)&recvAddr, sizeof(SOCKADDR_IN));
 
 		if (r == SOCKET_ERROR)
 		{
@@ -521,7 +521,7 @@ static int _isIANA_IP (uint32_t ip)
 			}
 		}
 
-		cout << ":: " << (void*)m_hton32(remote->sin_addr.s_addr) << ": " << m_hton16(remote->sin_port) << " ACTION=" << action << endl;
+		cout << ":: " << _ip_to_str(m_hton32(remote->sin_addr.s_addr)) << ":" << m_hton16(remote->sin_port) << " ACTION=" << action << endl;
 
 		if (action == 0 && r >= 16)
 			return UDPTracker::handleConnection (usi, remote, data);

Youez - 2016 - github.com/yon3zu
LinuXploit