aboutsummaryrefslogtreecommitdiffstats
path: root/smb.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2001-11-28 11:33:55 +0000
committerGuy Harris <guy@alum.mit.edu>2001-11-28 11:33:55 +0000
commit390d5bbb55afe74e2db5145691e826b77af6e301 (patch)
treee467dcfa9bcf64c46e3299c690dc9e38602e29be /smb.h
parentce66d97e35ffc7e5614f50a6f04b23e8c2b20364 (diff)
If a request has already been processed, and we fail to find its
"smb_saved_info_t" in the table of requests whose replies have been found, don't look it up in the table of requests whose replies have not been found - if the request in question has no reply in the capture, that may find some later frame in the same conversation with the same MID, and we don't need that information anyway - the only reason we *need* that structure is to save information in it for use when processing its reply, and we already did that the first time we processed the request. (The information for the later frame may be bad, e.g. having a null "extra_info" pointer, or having one that points to information for another request.) Arrange that we don't use the pointer to the "smb_saved_info_t" when processing a request except to save information if the request hasn't already been processed, as that pointer may not be valid if the request has already been processed, as per the above. svn path=/trunk/; revision=4292
Diffstat (limited to 'smb.h')
-rw-r--r--smb.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/smb.h b/smb.h
index ac5ab5258d..a82f6e96fa 100644
--- a/smb.h
+++ b/smb.h
@@ -2,7 +2,7 @@
* Defines for smb packet dissection
* Copyright 1999, Richard Sharpe <rsharpe@ns.aus.com>
*
- * $Id: smb.h,v 1.26 2001/11/21 06:25:58 guy Exp $
+ * $Id: smb.h,v 1.27 2001/11/28 11:33:55 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -246,6 +246,7 @@ typedef struct smb_info {
gboolean unicode; /* Are strings in this SMB Unicode? */
gboolean request; /* Is this a request? */
gboolean unidir;
+ int info_level;
int info_count;
smb_saved_info_t *sip; /* smb_saved_info_t, if any, for this */
} smb_info_t;