summaryrefslogtreecommitdiff
path: root/epan
diff options
context:
space:
mode:
authorJaap Keuter <jaap.keuter@xs4all.nl>2007-10-17 18:25:01 +0000
committerJaap Keuter <jaap.keuter@xs4all.nl>2007-10-17 18:25:01 +0000
commit4c22ba92f92aec4985790cd222090d69189fc470 (patch)
treee4b8f6c878c3b6ec7938ebab4430585fdec50958 /epan
parenta23916f4d5c23fb7e1f00d79e6418a604f43ba42 (diff)
downloadwireshark-4c22ba92f92aec4985790cd222090d69189fc470.tar.gz
Flag error
svn path=/trunk/; revision=23218
Diffstat (limited to 'epan')
-rw-r--r--epan/dissectors/packet-smb-pipe.c2
-rw-r--r--epan/dissectors/packet-smb2.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-smb-pipe.c b/epan/dissectors/packet-smb-pipe.c
index d9d2dc6e7e..81079aaeed 100644
--- a/epan/dissectors/packet-smb-pipe.c
+++ b/epan/dissectors/packet-smb-pipe.c
@@ -3422,7 +3422,7 @@ dissect_pipe_dcerpc(tvbuff_t *d_tvb, packet_info *pinfo, proto_tree *parent_tree
result = dissector_try_heuristic(smb_transact_heur_subdissector_list, d_tvb, pinfo, parent_tree);
goto clean_up_and_exit;
}
- if(!fd_head->flags&FD_DEFRAGMENTED){
+ if(!(fd_head->flags&FD_DEFRAGMENTED)){
/* we dont have a fully reassembled frame */
result = dissector_try_heuristic(smb_transact_heur_subdissector_list, d_tvb, pinfo, parent_tree);
goto clean_up_and_exit;
diff --git a/epan/dissectors/packet-smb2.c b/epan/dissectors/packet-smb2.c
index 8615a41a23..0f911e417f 100644
--- a/epan/dissectors/packet-smb2.c
+++ b/epan/dissectors/packet-smb2.c
@@ -2350,7 +2350,7 @@ dissect_smb2_class_infolevel(packet_info *pinfo, tvbuff_t *tvb, int offset, prot
}
offset += 2;
- if(!si->flags & SMB2_FLAGS_RESPONSE){
+ if(!(si->flags & SMB2_FLAGS_RESPONSE)){
/* Only update COL_INFO for requests. It clutters the
* display ab bit too much if we do it for replies
* as well.