diff options
author | Gerald Combs <gerald@wireshark.org> | 1999-12-02 04:27:46 +0000 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 1999-12-02 04:27:46 +0000 |
commit | 2478a404c8d3fa6244cac8512458e092f6a2fe20 (patch) | |
tree | 89aac733be2a4a470ec197483682fa1099715a8a /follow.c | |
parent | 6492ea79ee134701ef98e997201576f1fc8b5af9 (diff) | |
download | wireshark-2478a404c8d3fa6244cac8512458e092f6a2fe20.tar.gz wireshark-2478a404c8d3fa6244cac8512458e092f6a2fe20.tar.bz2 wireshark-2478a404c8d3fa6244cac8512458e092f6a2fe20.zip |
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.c | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -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 ); } - |