diff options
author | sahlberg <sahlberg@f5534014-38df-0310-8fa8-9805f1628bb7> | 2006-02-06 09:51:42 +0000 |
---|---|---|
committer | sahlberg <sahlberg@f5534014-38df-0310-8fa8-9805f1628bb7> | 2006-02-06 09:51:42 +0000 |
commit | 01b5f11951a90ec173161e51de46b84409492b99 (patch) | |
tree | 34a9e7d54ab0367e2df5b7a778f88c873ba1c5c6 /epan/dissectors/packet-smb2.c | |
parent | cbcde91591ea0c32086ae00f13de32cf37f46461 (diff) |
dissect the TWrp chain element
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17180 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-smb2.c')
-rw-r--r-- | epan/dissectors/packet-smb2.c | 15 |
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); |