summaryrefslogtreecommitdiff
path: root/net-mgmt/flow-tools
diff options
context:
space:
mode:
authorChris Timmons <cwt@FreeBSD.org>2002-04-17 17:00:43 +0000
committerChris Timmons <cwt@FreeBSD.org>2002-04-17 17:00:43 +0000
commit7c8497a2f670222ba84c2f312f6d9d9ff021a898 (patch)
tree688e133362335aeb45e9aabf2bf8d53b14db9bd6 /net-mgmt/flow-tools
parentUpdate to version 2.3 (audio support, tcp improvements etc.) (diff)
Correct problem with flow-capture -N-2 format which caused daemon
to be unable to create its own temporary files. flow-tools developer Mark Fullmer has acknowledged the patch.
Notes
Notes: svn path=/head/; revision=57818
Diffstat (limited to 'net-mgmt/flow-tools')
-rw-r--r--net-mgmt/flow-tools/files/patch-ftfile.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/net-mgmt/flow-tools/files/patch-ftfile.c b/net-mgmt/flow-tools/files/patch-ftfile.c
new file mode 100644
index 000000000000..d9863d07eda6
--- /dev/null
+++ b/net-mgmt/flow-tools/files/patch-ftfile.c
@@ -0,0 +1,11 @@
+--- lib/ftfile.c Tue Apr 24 14:07:18 2001
++++ lib/ftfile.c Tue Apr 16 16:52:49 2002
+@@ -449,7 +449,7 @@
+ } else if (nest == -2) {
+ sprintf(dbuf, "%2.2d-%2.2d/%2.2d-%2.2d-%2.2d/",
+ (int)tm->tm_year+1900, (int)tm->tm_mon+1,
+- (int)tm->tm_year+1900, (int)tm->tm_mon+1, (int)tm->tm_mon+1);
++ (int)tm->tm_year+1900, (int)tm->tm_mon+1, (int)tm->tm_mday);
+ } else if (nest == -1) {
+ sprintf(dbuf, "%2.2d/%2.2d-%2.2d/%2.2d-%2.2d-%2.2d/",
+ (int)tm->tm_year+1900,