1 diff -urN dsniff-2.4.org/sshow.c dsniff-2.4/sshow.c
2 --- dsniff-2.4.org/sshow.c 2003-11-08 22:37:23.000000000 +0100
3 +++ dsniff-2.4/sshow.c 2003-11-08 22:55:31.000000000 +0100
14 printf("- %s -> %s: DATA (%s bytes, %.2f seconds)\n",
15 s_saddr(ts), s_daddr(ts), s_range(plain_range),
16 - (float)delay / CLK_TCK);
17 + (float)delay / CLOCKS_PER_SEC);
19 print_data(&ts->server, cipher_size);
23 printf("- %s <- %s: DATA (%s bytes, %.2f seconds)\n",
24 s_saddr(ts), s_daddr(ts), s_range(plain_range),
25 - (float)delay / CLK_TCK);
26 + (float)delay / CLOCKS_PER_SEC);
28 print_data(&ts->client, cipher_size);
32 if (session->state == 1 &&
34 - now - get_history(session, 2)->timestamp >= CLK_TCK &&
35 + now - get_history(session, 2)->timestamp >= CLOCKS_PER_SEC &&
37 session->protocol == 1 &&
38 (session->history.directions & 7) == 5 &&