aboutsummaryrefslogtreecommitdiff
path: root/network/iptraf-ng/dirs.h.patch
diff options
context:
space:
mode:
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 000000000000..fcf1357422b7
--- /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