summaryrefslogtreecommitdiff
path: root/source4/pidl/lib/Parse/Pidl/Wireshark/NDR.pm
diff options
context:
space:
mode:
authorJulien Kerihuel <j.kerihuel@openchange.org>2008-02-13 02:24:11 +0100
committerJelmer Vernooij <jelmer@samba.org>2008-02-13 02:24:11 +0100
commitd4006e799ac1305092c2d292c9237f58938268a2 (patch)
tree57c43d6fec3356a0908701e80b1264ac080cf0bc /source4/pidl/lib/Parse/Pidl/Wireshark/NDR.pm
parentdcd890bd46a158ed42e025f5687c18d9b37097d8 (diff)
downloadsamba-d4006e799ac1305092c2d292c9237f58938268a2.tar.gz
samba-d4006e799ac1305092c2d292c9237f58938268a2.tar.bz2
samba-d4006e799ac1305092c2d292c9237f58938268a2.zip
Support ETT_FIELD keyword.
(This used to be commit ec8bd3991f76cf8746cf77c277c3491725711f9d)
Diffstat (limited to 'source4/pidl/lib/Parse/Pidl/Wireshark/NDR.pm')
-rw-r--r--source4/pidl/lib/Parse/Pidl/Wireshark/NDR.pm4
1 files changed, 4 insertions, 0 deletions
diff --git a/source4/pidl/lib/Parse/Pidl/Wireshark/NDR.pm b/source4/pidl/lib/Parse/Pidl/Wireshark/NDR.pm
index ffe104c941..8846b740ab 100644
--- a/source4/pidl/lib/Parse/Pidl/Wireshark/NDR.pm
+++ b/source4/pidl/lib/Parse/Pidl/Wireshark/NDR.pm
@@ -940,6 +940,10 @@ sub Parse($$$$$)
$self->{res}->{headers} .= "#include \"$h_basename\"\n";
$self->pidl_code("");
+ if (defined($self->{conformance}->{ett})) {
+ register_ett($self,$_) foreach(@{$self->{conformance}->{ett}})
+ }
+
# Wireshark protocol registration
foreach (@$ndr) {