aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRonnie Sahlberg <ronnie_sahlberg@ozemail.com.au>2006-02-06 09:51:42 +0000
committerRonnie Sahlberg <ronnie_sahlberg@ozemail.com.au>2006-02-06 09:51:42 +0000
commit4a2048a5efa3d3f0ff376e886ffa69f163333248 (patch)
tree34a9e7d54ab0367e2df5b7a778f88c873ba1c5c6
parentf1e686af860e8d76ed6992f090ee5c31ba9adc60 (diff)
dissect the TWrp chain element
svn path=/trunk/; revision=17180
-rw-r--r--epan/dissectors/packet-smb2.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/epan/dissectors/packet-smb2.c b/epan/dissectors/packet-smb2.c
index 76a7deea59..07948d3e8a 100644
--- a/epan/dissectors/packet-smb2.c
+++ b/epan/dissectors/packet-smb2.c
@@ -2958,6 +2958,19 @@ dissect_smb2_ExtA_buffer(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, sm
}
static void
+dissect_smb2_TWrp_buffer(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, smb2_info_t *si _U_)
+{
+ proto_item *item=NULL;
+ if (tree) {
+ item = proto_tree_get_parent(tree);
+ proto_item_append_text(item, ": Timestamp");
+ }
+ dissect_nt_64bit_time(tvb, tree, 0, hf_smb2_unknown_timestamp);
+
+ return;
+}
+
+static void
dissect_smb2_MxAc_buffer(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, smb2_info_t *si _U_)
{
int offset=0;
@@ -3037,6 +3050,8 @@ dissect_smb2_create_extra_info(tvbuff_t *tvb, packet_info *pinfo, proto_tree *pa
dissector = dissect_smb2_ExtA_buffer;
} else if(!strcmp(tag, "MxAc")){
dissector = dissect_smb2_MxAc_buffer;
+ } else if(!strcmp(tag, "TWrp")){
+ dissector = dissect_smb2_TWrp_buffer;
}
dissect_smb2_olb_buffer(pinfo, sub_tree, tvb, &data_olb, si, dissector);