diff options
author | Guy Harris <guy@alum.mit.edu> | 1999-07-07 01:41:15 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 1999-07-07 01:41:15 +0000 |
commit | fba49cfe85d4b23ebbffa97fae126a379e913ecd (patch) | |
tree | 7c5350f877efd5a6887e5d7820dcd6827eb36185 /follow.h | |
parent | b547681d563bdaeece9f62ae43da5ab2ae93d953 (diff) |
From Jason Lango <jal@netapp.com>, a fix to a long-standing problem
(which could cause core dumps in "Follow TCP Stream") -
"check_fragments()" was, when deleting a TCP segment at the beginning of
the list of segments, setting "src[index]" to point to the next segment,
not "frags[index]". "src[index]" is the source IP address, not a
pointer to a fragment.
Also, make some routines not used outside "follow.c" static.
svn path=/trunk/; revision=341
Diffstat (limited to 'follow.h')
-rw-r--r-- | follow.h | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -1,6 +1,6 @@ /* follow.h * - * $Id: follow.h,v 1.3 1999/03/23 20:25:50 deniel Exp $ + * $Id: follow.h,v 1.4 1999/07/07 01:41:15 guy Exp $ * * Copyright 1998 Mike Hall <mlh@io.com> * @@ -42,8 +42,6 @@ typedef struct _tcp_frag { char* build_follow_filter( packet_info * ); void reassemble_tcp( u_long, u_long, const char*, u_long, int, u_long ); -int check_fragments( int ); void reset_tcp_reassembly( void ); -void write_packet_data( const u_char *, int ); #endif |