diff options
author | gerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7> | 1999-12-02 04:27:46 +0000 |
---|---|---|
committer | gerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7> | 1999-12-02 04:27:46 +0000 |
commit | e14dad42db9a5e10a38da6a9b96d452c6c1c7d5b (patch) | |
tree | 89aac733be2a4a470ec197483682fa1099715a8a /follow.c | |
parent | 451a3a3585e8e3adadb833e4ee8eebccd568c86d (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.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@1178 f5534014-38df-0310-8fa8-9805f1628bb7
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 ); } - |