summaryrefslogtreecommitdiff
path: root/package/dsniff/patches/patch-sshow_c
diff options
context:
space:
mode:
Diffstat (limited to 'package/dsniff/patches/patch-sshow_c')
-rw-r--r--package/dsniff/patches/patch-sshow_c38
1 files changed, 0 insertions, 38 deletions
diff --git a/package/dsniff/patches/patch-sshow_c b/package/dsniff/patches/patch-sshow_c
deleted file mode 100644
index 25e94ef1c..000000000
--- a/package/dsniff/patches/patch-sshow_c
+++ /dev/null
@@ -1,38 +0,0 @@
-$Id$
---- dsniff-2.4.orig/sshow.c 2001-03-19 07:52:15.000000000 +0100
-+++ dsniff-2.4/sshow.c 2008-10-10 14:53:48.000000000 +0200
-@@ -15,6 +15,7 @@
-
- #include <sys/types.h>
- #include <sys/times.h>
-+#include <time.h>
-
- #include <netinet/in_systm.h>
- #include <netinet/in.h>
-@@ -222,7 +223,7 @@ client_to_server(struct tcp_stream *ts,
- if (debug)
- printf("- %s -> %s: DATA (%s bytes, %.2f seconds)\n",
- s_saddr(ts), s_daddr(ts), s_range(plain_range),
-- (float)delay / CLK_TCK);
-+ (float)delay / CLOCKS_PER_SEC);
- if (debug > 1)
- print_data(&ts->server, cipher_size);
-
-@@ -270,7 +271,7 @@ server_to_client(struct tcp_stream *ts,
- if (debug)
- printf("- %s <- %s: DATA (%s bytes, %.2f seconds)\n",
- s_saddr(ts), s_daddr(ts), s_range(plain_range),
-- (float)delay / CLK_TCK);
-+ (float)delay / CLOCKS_PER_SEC);
- if (debug > 1)
- print_data(&ts->client, cipher_size);
-
-@@ -299,7 +300,7 @@ server_to_client(struct tcp_stream *ts,
-
- if (session->state == 1 &&
- #ifdef USE_TIMING
-- now - get_history(session, 2)->timestamp >= CLK_TCK &&
-+ now - get_history(session, 2)->timestamp >= CLOCKS_PER_SEC &&
- #endif
- session->protocol == 1 &&
- (session->history.directions & 7) == 5 &&