diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2007-04-25 16:10:54 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:51:37 -0500 |
commit | 771b57b3fcd0daeb3731f18e5b4ef95013150b82 (patch) | |
tree | ee37a89c81f3a3be4ec12afbd5d0116a44739da9 /source4/pidl/lib/Parse/Pidl/Wireshark/NDR.pm | |
parent | 29c2744f9677dfb033578c076791f8a3249f42b3 (diff) | |
download | samba-771b57b3fcd0daeb3731f18e5b4ef95013150b82.tar.gz samba-771b57b3fcd0daeb3731f18e5b4ef95013150b82.tar.bz2 samba-771b57b3fcd0daeb3731f18e5b4ef95013150b82.zip |
r22520: Fix the TYPE command.
(This used to be commit b81b0d3308bf51c2e22d54024b3d6f1a59c6b283)
Diffstat (limited to 'source4/pidl/lib/Parse/Pidl/Wireshark/NDR.pm')
-rw-r--r-- | source4/pidl/lib/Parse/Pidl/Wireshark/NDR.pm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/pidl/lib/Parse/Pidl/Wireshark/NDR.pm b/source4/pidl/lib/Parse/Pidl/Wireshark/NDR.pm index 523fff9537..ea3f0db961 100644 --- a/source4/pidl/lib/Parse/Pidl/Wireshark/NDR.pm +++ b/source4/pidl/lib/Parse/Pidl/Wireshark/NDR.pm @@ -834,6 +834,8 @@ sub register_type($$$$$$$$) { my ($self, $type,$call,$ft,$base,$mask,$vals,$length) = @_; + return if (defined($self->{conformance}->{types}->{$type})); + $self->{conformance}->{types}->{$type} = { NAME => $type, DISSECTOR_NAME => $call, |