summaryrefslogtreecommitdiff
path: root/source4/pidl/lib/Parse/Pidl/Ethereal/NDR.pm
diff options
context:
space:
mode:
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;
}