summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Decavel2009-09-16 16:34:10 +0200
committerBenjamin Decavel2009-09-16 16:34:10 +0200
commitc96d4b1d663a8f0937780ab7aa7b28f898712de8 (patch)
treea1909c535b7fb489985cfef80b98df225d7be7d1
parent6bbe413f4a06a8b832f702deaf57d00a6bf07f1d (diff)
spidlib: moved pathes to the right files
-rw-r--r--application/spidlib/inc/path.h4
-rw-r--r--application/spidlib/inc/whitelist.h3
2 files changed, 3 insertions, 4 deletions
diff --git a/application/spidlib/inc/path.h b/application/spidlib/inc/path.h
index d6ffa89f69..6c614e03b5 100644
--- a/application/spidlib/inc/path.h
+++ b/application/spidlib/inc/path.h
@@ -55,7 +55,9 @@
// Port
#define SPIDLIB_PORT_LIST_PATH "/etc/port.conf"
-#define SPIDLIB_WHITELIST_CONFIG_PATH SPIDLIB_CONFIG_SYSTEM_PATH
+//Whitelist
+#define SPIDLIB_WHITELIST_ENABLE_PATH SPIDLIB_CONFIG_SYSTEM_PATH
+#define SPIDLIB_WHITELIST_PROC_PATH "/proc/net/plc/white_list"
#define SPIDLIB_WL_CONFIG_FILE "/etc/whitelist.conf"
#endif
diff --git a/application/spidlib/inc/whitelist.h b/application/spidlib/inc/whitelist.h
index e386714326..e1a0818cb0 100644
--- a/application/spidlib/inc/whitelist.h
+++ b/application/spidlib/inc/whitelist.h
@@ -21,9 +21,6 @@
#define SPIDLIB_WHITELIST_OUTPUT_LEVEL_MAX 129
#define SPIDLIB_WHITELIST_OUTPUT_LEVEL_MIN 103
#define MAX_OUTPUT_LEVEL_SIZE 16
- //------------------> path to verify //TODO
-#define SPIDLIB_WHITELIST_ENABLE_PATH "/etc/system.conf"
-#define SPIDLIB_WHITELIST_PROC_PATH "/proc/net/plc/white_list"
// For spidlib_get_whitelist_entry