aboutsummaryrefslogtreecommitdiffstats
path: root/follow.c
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>1999-12-02 04:27:46 +0000
committerGerald Combs <gerald@wireshark.org>1999-12-02 04:27:46 +0000
commit2478a404c8d3fa6244cac8512458e092f6a2fe20 (patch)
tree89aac733be2a4a470ec197483682fa1099715a8a /follow.c
parent6492ea79ee134701ef98e997201576f1fc8b5af9 (diff)
Remove the check for cs->dlen > 0. We want to log the first (zero length)
packet, since that tells us the direction of the connection. svn path=/trunk/; revision=1178
Diffstat (limited to 'follow.c')
-rw-r--r--follow.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/follow.c b/follow.c
index 41718934d6..256c30b6c9 100644
--- a/follow.c
+++ b/follow.c
@@ -1,6 +1,6 @@
/* follow.c
*
- * $Id: follow.c,v 1.18 1999/11/28 03:35:09 gerald Exp $
+ * $Id: follow.c,v 1.19 1999/12/02 04:27:46 gerald Exp $
*
* Copyright 1998 Mike Hall <mlh@io.com>
*
@@ -274,9 +274,6 @@ reset_tcp_reassembly() {
static void
write_packet_data( tcp_stream_chunk *sc, const char *data ) {
- if (sc->dlen == 0)
- return;
fwrite( sc, 1, sizeof(tcp_stream_chunk), data_out_file );
fwrite( data, 1, sc->dlen, data_out_file );
}
-