summaryrefslogtreecommitdiff
path: root/security/unicornscan/files/patch-src__config.h
blob: e9e452f4a8cb6ee9b69e7d3073e713b21b25894b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
--- src/config.h.orig	Mon Dec 13 12:26:43 2004
+++ src/config.h	Mon Dec 13 12:29:18 2004
@@ -39,7 +39,7 @@
  * GNU/Linux and some other (newer) systems might have this, its ok to say no
  * even if you dont have this, you just wont have the -- options on the command line
  */
-#define WITH_LONGOPTS
+//#define WITH_LONGOPTS
 
 /*
  * lots of newer bsd'ish systems have this as well as some (newer?) linux systems. youll need this
@@ -47,7 +47,7 @@
  * and are not running linux, however it likely will not work arp scanning.
  * side note: dont use this on linux, its broken!
  */
-/* #define WITH_IFADDRS */
+#define WITH_IFADDRS 
 
 /*
  * XXX
@@ -56,13 +56,13 @@
  * (HINT: define both of none of WITH_IFADDRS and WITH_IF_DL, if you only define one, expect serious compile errors)
  * if you have solaris, then you need this, and pray things work out for you.
  */
-/* #define WITH_IF_DL */
+#define WITH_IF_DL
 
 /*
  * bsd'ish boxes with bpf stuff included with the system, otherwise dont use it.
  * linux people dont need this really even if they think they have this
  */
-/*#define HAVE_BPF_H */
+#define HAVE_BPF_H 
 
 /*
  * most people these days have this file, if you _dont_ have it, then youll need to put the "full path"
@@ -80,7 +80,7 @@
  * with linux, define this (or if you have /proc/net/route)
  * otherwise use we will make due, remeber to use -i if you dont have /proc/net/route
  */
-#define HAVE_PROC_NET_ROUTE
+/* #define HAVE_PROC_NET_ROUTE */
 /*
  * XXX
  * you shouldnt have to play with these, most likely
@@ -128,8 +128,8 @@
 
 #define MODULE_DIR	PREFIX "/libexec/" TARGETNAME "/modules"
 #define PORT_NUMBERS	PREFIX "/share/" TARGETNAME "/port-numbers"
-#define CONF_FILE	PREFIX "/share/" TARGETNAME "/unicorn.conf"
-#define OUI_CONF	PREFIX "/share/" TARGETNAME "/oui.conf"
+#define CONF_FILE	PREFIX "/etc/" TARGETNAME "/unicorn.conf"
+#define OUI_CONF	PREFIX "/etc/" TARGETNAME "/oui.conf"
 #define SENDER_PATH	PREFIX "/libexec/" TARGETNAME "/" SENDERNAME
 #define LISTENER_PATH	PREFIX "/libexec/" TARGETNAME "/" LISTENERNAME