aboutsummaryrefslogtreecommitdiff
path: root/network/iptraf-ng/dirs.h.patch
diff options
context:
space:
mode:
authorGrigorios Bouzakis <grbzks@xsmail.com>2011-02-17 23:03:35 -0600
committerRobby Workman <rworkman@slackbuilds.org>2011-02-28 09:42:04 -0600
commitbf7fd773bfa5fee9cc9bc6a8fbe4d261cba3fb05 (patch)
tree0a000fb789b039a020a13a53b0246a71d10c44fe /network/iptraf-ng/dirs.h.patch
parent0334573f2b47372b93051948d7f9cd9cd05c4ad5 (diff)
network/iptraf-ng: Added (rewrite of iptraf)
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'network/iptraf-ng/dirs.h.patch')
-rw-r--r--network/iptraf-ng/dirs.h.patch43
1 files changed, 43 insertions, 0 deletions
diff --git a/network/iptraf-ng/dirs.h.patch b/network/iptraf-ng/dirs.h.patch
new file mode 100644
index 0000000000000..fcf1357422b70
--- /dev/null
+++ b/network/iptraf-ng/dirs.h.patch
@@ -0,0 +1,43 @@
+diff --git a/src/dirs.h b/src/dirs.h
+index e57a4c8..1698f50 100644
+--- a/src/dirs.h
++++ b/src/dirs.h
+@@ -26,11 +26,11 @@
+ */
+
+ #ifndef WORKDIR
+-#define WORKDIR "/var/lib/iptraf"
++#define WORKDIR "/var/lib/iptraf-ng"
+ #endif
+
+ #ifndef LOGDIR
+-#define LOGDIR "/var/log/iptraf"
++#define LOGDIR "/var/log/iptraf-ng"
+ #endif
+
+ #ifndef EXECDIR
+@@ -46,7 +46,7 @@
+ */
+
+ #ifndef LOCKDIR
+-#define LOCKDIR "/var/lock/iptraf"
++#define LOCKDIR "/var/lock/iptraf-ng"
+ #endif
+
+ /***
+@@ -161,13 +161,13 @@
+ * The rvnamed program file
+ */
+
+-#define RVNDFILE get_path(T_EXECDIR, "rvnamed")
++#define RVNDFILE get_path(T_EXECDIR, "rvnamed-ng")
+
+ /*
+ * The rvnamed log file
+ */
+
+-#define RVNDLOGFILE get_path(T_LOGDIR, "rvnamed.log")
++#define RVNDLOGFILE get_path(T_LOGDIR, "rvnamed-ng.log")
+
+ /*
+ * File to contain the current TCP filter data file name. UDP filter