pidl/ws: enhance dissector
[sfrench/samba-autobuild/.git] / pidl / lib / Parse / Pidl / Wireshark / NDR.pm
index c9719ac04f7134682a621c0c41060066174435cd..698f8c61a5e277fe1e58aac238fa309b1e6e8078 100644 (file)
@@ -508,6 +508,7 @@ sub Element($$$$$)
                        $param = "*$param";
                }
                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_, guint8 *drep _U_$moreparam);");
                $self->pidl_fn_start("$dissectorname$add");
                $self->pidl_code("static int");