summaryrefslogtreecommitdiffstats
path: root/net-mgmt/flow-tools
diff options
context:
space:
mode:
authorcwt <cwt@FreeBSD.org>2002-04-17 17:00:43 +0000
committercwt <cwt@FreeBSD.org>2002-04-17 17:00:43 +0000
commita4dc6fdda6c87955a99bfc8df67a6e7f20a43dcb (patch)
tree368b747e191b9a7f8d51e96ffcdce9b9b923ca06 /net-mgmt/flow-tools
parent167003663b76f1f1e8b0d686c33e446cd0281b4a (diff)
downloadFreeBSD-ports-a4dc6fdda6c87955a99bfc8df67a6e7f20a43dcb.zip
FreeBSD-ports-a4dc6fdda6c87955a99bfc8df67a6e7f20a43dcb.tar.gz
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.
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 0000000..d9863d0
--- /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,
OpenPOWER on IntegriCloud