aboutsummaryrefslogtreecommitdiffstats
path: root/tools/pidl
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2014-11-04 04:36:23 -0800
committerGuy Harris <guy@alum.mit.edu>2014-11-04 12:37:21 +0000
commitc3c59dc2ad860d08a1adc5fd69fa26f16d61db01 (patch)
tree04d2f3a41572427632e4d26731ae85ee47771c3b /tools/pidl
parente38e82852e8ae4e5a4c600c6fdc6d4c1cedfbf77 (diff)
add the type dom_sid28 and call ad-hoc dissector
Pick up change from Samba: commit 87fb54b77f4b9caaf2b25635b7813e29a448aaa6 Author: Matthieu Patou <mat@matws.net> Date: Tue Oct 1 12:04:02 2013 -0700 pidl-wireshark: add the type dom_sid28 and call ad-hoc dissector Change-Id: Ide5041b901b5e1785b5cabd4b6320f830bbef2b8 Reviewed-on: https://code.wireshark.org/review/5108 Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'tools/pidl')
-rw-r--r--tools/pidl/lib/Parse/Pidl/Wireshark/NDR.pm5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/pidl/lib/Parse/Pidl/Wireshark/NDR.pm b/tools/pidl/lib/Parse/Pidl/Wireshark/NDR.pm
index 66c5e52fba..5c6172f068 100644
--- a/tools/pidl/lib/Parse/Pidl/Wireshark/NDR.pm
+++ b/tools/pidl/lib/Parse/Pidl/Wireshark/NDR.pm
@@ -1085,6 +1085,11 @@ sub Initialize($$)
$self->register_type("NTTIME_hyper", "offset = dissect_ndr_nt_NTTIME(tvb, offset, pinfo, tree, di, drep, \@HF\@);","FT_ABSOLUTE_TIME", "ABSOLUTE_TIME_LOCAL", 0, "NULL", 4);
$self->register_type("time_t", "offset = dissect_ndr_time_t(tvb, offset, pinfo,tree, di, drep, \@HF\@, NULL);","FT_ABSOLUTE_TIME", "ABSOLUTE_TIME_LOCAL", 0, "NULL", 4);
$self->register_type("NTTIME_1sec", "offset = dissect_ndr_nt_NTTIME(tvb, offset, pinfo, tree, di, drep, \@HF\@);", "FT_ABSOLUTE_TIME", "ABSOLUTE_TIME_LOCAL", 0, "NULL", 4);
+ $self->register_type("dom_sid28", "
+ di->hf_index = \@HF\@;
+
+ offset = dissect_ndr_nt_SID28(tvb, offset, pinfo, tree, di, drep);
+ ", "FT_STRING", "BASE_NONE", 0, "NULL", 4);
$self->register_type("SID", "
di->hf_index = \@HF\@;