Skip to content

Commit

Permalink
pidl: handle datablob for wireshark generator
Browse files Browse the repository at this point in the history
  • Loading branch information
ekacnet committed Aug 5, 2011
1 parent ba882bf commit dc829a4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pidl/lib/Parse/Pidl/Wireshark/NDR.pm
Original file line number Diff line number Diff line change
Expand Up @@ -332,6 +332,10 @@ sub ElementLevel($$$$$$$)
} else {
warn("Unable to handle string with flags $e->{PROPERTIES}->{flag}");
}
} elsif ($l->{DATA_TYPE} eq "DATA_BLOB") {
my $remain = 0;
$remain = 1 if (property_matches($e->{ORIGINAL}, "flag", ".*LIBNDR_FLAG_REMAINING.*"));
$self->pidl_code("offset = dissect_ndr_datablob(tvb, offset, pinfo, tree, drep, $hf, $remain);");
} else {
my $call;

Expand Down

0 comments on commit dc829a4

Please sign in to comment.