diff options
author | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2014-09-26 23:29:43 +0200 |
---|---|---|
committer | Michael Mann <mmann78@netscape.net> | 2014-09-28 16:41:20 +0000 |
commit | 28ec9c29ea079805d5605f43cc8177198f4d6ffc (patch) | |
tree | a3b8446e19cc8bc45b95bcdcb8eacfce88c6b60c /tools/pidl | |
parent | e759d8272bddc842f339ee35ecbcf9bf677d69f9 (diff) | |
download | wireshark-28ec9c29ea079805d5605f43cc8177198f4d6ffc.tar.gz |
PIDL (DCERPC winreg): enhance dissector
* Fix PIDL generator for NOEMIT Element (fix -Wunused-function for DCERPC winreg dissector)
* Fix indent (use tabs)
* Remove DCERPC winreg dissector from DIRTY list
Change-Id: I5d16cbfe8481a5e5f7e5df9b51735c93ae4375a7
Reviewed-on: https://code.wireshark.org/review/4322
Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'tools/pidl')
-rw-r--r-- | tools/pidl/lib/Parse/Pidl/Wireshark/NDR.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/pidl/lib/Parse/Pidl/Wireshark/NDR.pm b/tools/pidl/lib/Parse/Pidl/Wireshark/NDR.pm index 010d4392a1..ca34af34e0 100644 --- a/tools/pidl/lib/Parse/Pidl/Wireshark/NDR.pm +++ b/tools/pidl/lib/Parse/Pidl/Wireshark/NDR.pm @@ -483,6 +483,7 @@ sub Element($$$$$$) } } next if ($_->{TYPE} eq "SWITCH"); + next if (defined($self->{conformance}->{noemit}->{"$dissectorname$add"})); $self->pidl_def("static int $dissectorname$add(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_$moreparam);"); $self->pidl_fn_start("$dissectorname$add"); $self->pidl_code("static int"); |