diff options
author | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2011-05-17 20:04:22 +0000 |
---|---|---|
committer | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2011-05-17 20:04:22 +0000 |
commit | 5d592022c2874e079f65765c4bdfe7c62635ec73 (patch) | |
tree | 5900aef48b269dd7ae7bac5d816b89a60c03119c /epan/dissectors | |
parent | 04ba0e76dcb97c8f9e7e95186e75ee2308d2f978 (diff) |
Don't leave the truncation flag unset in any of the info level
dissectors.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37209 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors')
-rw-r--r-- | epan/dissectors/packet-smb.c | 20 |
1 files changed, 14 insertions, 6 deletions
diff --git a/epan/dissectors/packet-smb.c b/epan/dissectors/packet-smb.c index 24c06be835..8c361b69a3 100644 --- a/epan/dissectors/packet-smb.c +++ b/epan/dissectors/packet-smb.c @@ -12477,60 +12477,67 @@ dissect_qspi_unix_acl(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, proto_item_set_len(it, offset-old_offset); } + *trunc = FALSE; return offset; } static int dissect_qspi_unix_xattr(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, - int offset _U_, guint16 *bcp _U_, gboolean *trunc _U_) + int offset _U_, guint16 *bcp _U_, gboolean *trunc) { proto_tree_add_text(tree, tvb, offset, 0, "Not Implemented yet"); + *trunc = FALSE; return offset; } static int dissect_qspi_unix_attr_flags(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, - int offset _U_, guint16 *bcp _U_, gboolean *trunc _U_) + int offset _U_, guint16 *bcp _U_, gboolean *trunc) { proto_tree_add_text(tree, tvb, offset, 0, "Not Implemented yet"); + *trunc = FALSE; return offset; } static int dissect_qpi_unix_permissions(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, - int offset _U_, guint16 *bcp _U_, gboolean *trunc _U_) + int offset _U_, guint16 *bcp _U_, gboolean *trunc) { proto_tree_add_text(tree, tvb, offset, 0, "Not Implemented yet"); + *trunc = FALSE; return offset; } static int dissect_qspi_unix_lock(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, - int offset _U_, guint16 *bcp _U_, gboolean *trunc _U_) + int offset _U_, guint16 *bcp _U_, gboolean *trunc) { proto_tree_add_text(tree, tvb, offset, 0, "Not Implemented yet"); + *trunc = FALSE; return offset; } static int dissect_qspi_unix_open(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, - int offset _U_, guint16 *bcp _U_, gboolean *trunc _U_) + int offset _U_, guint16 *bcp _U_, gboolean *trunc) { proto_tree_add_text(tree, tvb, offset, 0, "Not Implemented yet"); + *trunc = FALSE; return offset; } static int dissect_qspi_unix_unlink(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, - int offset _U_, guint16 *bcp _U_, gboolean *trunc _U_) + int offset _U_, guint16 *bcp _U_, gboolean *trunc) { proto_tree_add_text(tree, tvb, offset, 0, "Not Implemented yet"); + *trunc = FALSE; return offset; } @@ -12690,6 +12697,7 @@ dissect_qspi_unix_info2(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, offset = dissect_unix_info2_file_flags(tvb, tree, offset, hf_smb_unix_info2_file_flags_mask); *bcp -= 4; + *trunc = FALSE; return offset; } |