Lines 1-6
Link Here
|
1 |
--- includes/cf/freebsd.h.orig Wed Mar 3 02:32:39 2004 |
1 |
--- includes/cf/freebsd.h.orig Wed Sep 1 19:06:36 2004 |
2 |
+++ includes/cf/freebsd.h Wed Mar 3 02:31:56 2004 |
2 |
+++ includes/cf/freebsd.h Mon May 15 09:13:18 2006 |
3 |
@@ -42,7 +42,7 @@ |
3 |
@@ -33,7 +33,7 @@ |
4 |
*/ |
4 |
*/ |
5 |
|
5 |
|
6 |
#include <syslog.h> |
6 |
#include <syslog.h> |
Lines 9-15
Link Here
|
9 |
#include <string.h> |
9 |
#include <string.h> |
10 |
#include <paths.h> |
10 |
#include <paths.h> |
11 |
#include <errno.h> |
11 |
#include <errno.h> |
12 |
@@ -101,6 +101,10 @@ |
12 |
@@ -82,7 +82,7 @@ |
|
|
13 |
|
14 |
/* Time stuff... */ |
15 |
#include <sys/time.h> |
16 |
-#define TIME time_t |
17 |
+#define TIME u_int32_t |
18 |
#define GET_TIME(x) time ((x)) |
19 |
|
20 |
#define HAVE_SA_LEN |
21 |
@@ -97,6 +97,10 @@ |
13 |
#define SOCKLEN_T int |
22 |
#define SOCKLEN_T int |
14 |
#endif |
23 |
#endif |
15 |
|
24 |
|
Lines 20-26
Link Here
|
20 |
#if defined (USE_DEFAULT_NETWORK) |
29 |
#if defined (USE_DEFAULT_NETWORK) |
21 |
# define USE_BPF |
30 |
# define USE_BPF |
22 |
#endif |
31 |
#endif |
23 |
@@ -111,6 +115,9 @@ |
32 |
@@ -107,6 +111,9 @@ |
24 |
#endif /* HAVE_DEV_RANDOM */ |
33 |
#endif /* HAVE_DEV_RANDOM */ |
25 |
|
34 |
|
26 |
const char *cmds[] = { |
35 |
const char *cmds[] = { |
Lines 30-36
Link Here
|
30 |
"/bin/ps -axlw 2>&1", |
39 |
"/bin/ps -axlw 2>&1", |
31 |
"/usr/sbin/arp -an 2>&1", |
40 |
"/usr/sbin/arp -an 2>&1", |
32 |
"/usr/bin/netstat -an 2>&1", |
41 |
"/usr/bin/netstat -an 2>&1", |
33 |
@@ -121,10 +128,12 @@ |
42 |
@@ -117,10 +124,12 @@ |
34 |
"/usr/sbin/iostat 2>&1", |
43 |
"/usr/sbin/iostat 2>&1", |
35 |
"/usr/bin/vmstat 2>&1", |
44 |
"/usr/bin/vmstat 2>&1", |
36 |
"/usr/bin/w 2>&1", |
45 |
"/usr/bin/w 2>&1", |
Lines 43-49
Link Here
|
43 |
"/tmp", |
52 |
"/tmp", |
44 |
"/usr/tmp", |
53 |
"/usr/tmp", |
45 |
".", |
54 |
".", |
46 |
@@ -134,13 +143,16 @@ |
55 |
@@ -130,13 +139,16 @@ |
47 |
"/var/mail", |
56 |
"/var/mail", |
48 |
"/home", |
57 |
"/home", |
49 |
"/usr/home", |
58 |
"/usr/home", |