svn commit: samba r9983 - in
branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Ethereal: .
tpot at samba.org
tpot at samba.org
Sat Sep 3 02:06:33 GMT 2005
Author: tpot
Date: 2005-09-03 02:06:32 +0000 (Sat, 03 Sep 2005)
New Revision: 9983
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=9983
Log:
Make the NOEMIT conformance directive with no argument mean do not
emit any dissectors for this IDL.
Modified:
branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Ethereal/Conformance.pm
Changeset:
Modified: branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Ethereal/Conformance.pm
===================================================================
--- branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Ethereal/Conformance.pm 2005-09-03 01:50:56 UTC (rev 9982)
+++ branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Ethereal/Conformance.pm 2005-09-03 02:06:32 UTC (rev 9983)
@@ -68,9 +68,16 @@
sub handle_noemit($$)
{
- my ($data,$type) = @_;
+ my ($data) = shift;
+ my $type;
- $data->{noemit}->{$type} = 1;
+ $type = shift if ($#_ == 1);
+
+ if (defined($type)) {
+ $data->{noemit}->{$type} = 1;
+ } else {
+ $data->{noemit_dissector} = 1;
+ }
}
sub handle_protocol($$$$$)
More information about the samba-cvs
mailing list