aboutsummaryrefslogtreecommitdiffstats
path: root/epan
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2012-06-19 08:24:23 +0000
committerGuy Harris <guy@alum.mit.edu>2012-06-19 08:24:23 +0000
commit86a888bc0d936bf8a757165292bb2cdb45f760a0 (patch)
treed461a12e61c6a80016a5897870e17208e695e247 /epan
parent85e4574258e93b66f780fef300153edc8a0f59cf (diff)
Set save_fragmented at the beginning of the routine, so it can always be
used at the end to restore pinfo->fragmented. svn path=/trunk/; revision=43350
Diffstat (limited to 'epan')
-rw-r--r--epan/dissectors/packet-smb.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/epan/dissectors/packet-smb.c b/epan/dissectors/packet-smb.c
index 142a46ab3f..05ca312a71 100644
--- a/epan/dissectors/packet-smb.c
+++ b/epan/dissectors/packet-smb.c
@@ -8865,6 +8865,8 @@ dissect_nt_transaction_request(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree
tvbuff_t *pd_tvb=NULL;
gboolean save_fragmented;
+ save_fragmented = pinfo->fragmented;
+
ntd.subcmd = ntd.sd_len = ntd.ea_len = 0;
si = (smb_info_t *)pinfo->private_data;
@@ -9014,7 +9016,6 @@ dissect_nt_transaction_request(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree
In this section we do reassembly of both the data and parameters
blocks of the SMB transaction command.
*/
- save_fragmented = pinfo->fragmented;
/* do we need reassembly? */
if( (td&&(td!=dc)) || (tp&&(tp!=pc)) ){
/* oh yeah, either data or parameter section needs