diff options
author | Michael Mann <mmann78@netscape.net> | 2013-11-24 20:55:55 +0000 |
---|---|---|
committer | Michael Mann <mmann78@netscape.net> | 2013-11-24 20:55:55 +0000 |
commit | e2df7c83cb0e1202a045d410934fe3d0dcc7c0d3 (patch) | |
tree | 2a111e76afcd702cc61ae82188fed6a5f5a6fefc /tools/pidl/lib/Parse/Pidl/Wireshark/NDR.pm | |
parent | ee147994b73360352ce0e89e63ae03ce8a73f14b (diff) |
Move dceprc_procedure_name from packet_info to dcerpc_info. Doesn't appear to be "used" by dissectors, just stored (for help in debugging?).
svn path=/trunk/; revision=53552
Diffstat (limited to 'tools/pidl/lib/Parse/Pidl/Wireshark/NDR.pm')
-rw-r--r-- | tools/pidl/lib/Parse/Pidl/Wireshark/NDR.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/pidl/lib/Parse/Pidl/Wireshark/NDR.pm b/tools/pidl/lib/Parse/Pidl/Wireshark/NDR.pm index 07268935be..ff1bf77aeb 100644 --- a/tools/pidl/lib/Parse/Pidl/Wireshark/NDR.pm +++ b/tools/pidl/lib/Parse/Pidl/Wireshark/NDR.pm @@ -521,7 +521,7 @@ sub Function($$$) error($fn, "unknown return type `$fn->{RETURN_TYPE}'"); } - $self->pidl_code("pinfo->dcerpc_procedure_name=\"${fn_name}\";"); + $self->pidl_code("di->dcerpc_procedure_name=\"${fn_name}\";"); foreach (@{$fn->{ELEMENTS}}) { if (grep(/out/,@{$_->{DIRECTION}})) { $self->pidl_code("$dissectornames{$_->{NAME}}"); @@ -569,7 +569,7 @@ sub Function($$$) $self->pidl_code("$ifname\_dissect\_${fn_name}_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)"); $self->pidl_code("{"); $self->indent; - $self->pidl_code("pinfo->dcerpc_procedure_name=\"${fn_name}\";"); + $self->pidl_code("di->dcerpc_procedure_name=\"${fn_name}\";"); foreach (@{$fn->{ELEMENTS}}) { if (grep(/in/,@{$_->{DIRECTION}})) { $self->pidl_code("$dissectornames{$_->{NAME}}"); |