summaryrefslogtreecommitdiff
path: root/source4/pidl/lib/Parse/Pidl/Ethereal/NDR.pm
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2005-09-09 10:30:19 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:38:00 -0500
commit79f476a1126cc1426eb7f42d9d2b1f63051e69b1 (patch)
tree06b79c43cb958f7467643fe4ef0348f8f125534a /source4/pidl/lib/Parse/Pidl/Ethereal/NDR.pm
parent289127b0262246147c370f3261ce94b0e3669969 (diff)
downloadsamba-79f476a1126cc1426eb7f42d9d2b1f63051e69b1.tar.gz
samba-79f476a1126cc1426eb7f42d9d2b1f63051e69b1.tar.bz2
samba-79f476a1126cc1426eb7f42d9d2b1f63051e69b1.zip
r10110: Add some more warnings, implement FIELD_DESCRIPTION
(This used to be commit 1caeb3238dac6321bde8e254a8efaf090b4d56b0)
Diffstat (limited to 'source4/pidl/lib/Parse/Pidl/Ethereal/NDR.pm')
-rw-r--r--source4/pidl/lib/Parse/Pidl/Ethereal/NDR.pm6
1 files changed, 6 insertions, 0 deletions
diff --git a/source4/pidl/lib/Parse/Pidl/Ethereal/NDR.pm b/source4/pidl/lib/Parse/Pidl/Ethereal/NDR.pm
index 315c31a6f6..119dc46707 100644
--- a/source4/pidl/lib/Parse/Pidl/Ethereal/NDR.pm
+++ b/source4/pidl/lib/Parse/Pidl/Ethereal/NDR.pm
@@ -826,6 +826,12 @@ sub register_hf_field($$$$$$$$)
BLURB => $blurb
};
+ if ((not defined($blurb) or $blurb eq "") and
+ defined($conformance->{fielddescription}->{$index})) {
+ $conformance->{header_fields}->{$index}->{BLURB} =
+ $conformance->{fielddescription}->{$index};
+ }
+
return $index;
}