summaryrefslogtreecommitdiff
path: root/tools/pidl
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2005-12-10 22:42:19 +0000
committerGuy Harris <guy@alum.mit.edu>2005-12-10 22:42:19 +0000
commit46cbfd576a2fcfcac13dc287ff6dfc6b9cdbb65a (patch)
treec2c2c67dd2bfd23ce472e3e3bd0088ee9b4e9051 /tools/pidl
parent00777013b54213cf374fec13eacc4c5844158faa (diff)
downloadwireshark-46cbfd576a2fcfcac13dc287ff6dfc6b9cdbb65a.tar.gz
The Bitmap routine in lib/Parse/Pidl/Ethereal/NDR.pm in Pidl generates
fields as BASE_DEC; bitmaps are typically displayed in hex in Ethereal, so it should generate BASE_HEX instead. (Submitted to bugzilla.samba.org as bug 3313.) A couple of the IDL files use "unistr"; define it as "[string] uint16", so that the resulting dissectors work correctly. Regenerate dissectors. svn path=/trunk/; revision=16754
Diffstat (limited to 'tools/pidl')
-rw-r--r--tools/pidl/lib/Parse/Pidl/Ethereal/NDR.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/pidl/lib/Parse/Pidl/Ethereal/NDR.pm b/tools/pidl/lib/Parse/Pidl/Ethereal/NDR.pm
index 24d6af8e60..40767ef535 100644
--- a/tools/pidl/lib/Parse/Pidl/Ethereal/NDR.pm
+++ b/tools/pidl/lib/Parse/Pidl/Ethereal/NDR.pm
@@ -226,7 +226,7 @@ sub Bitmap($$$)
my $size = $e->{BASE_TYPE};
$size =~ s/uint//g;
- register_type($name, "offset = $dissectorname(tvb, offset, pinfo, tree, drep, \@HF\@, \@PARAM\@);", "FT_UINT$size", "BASE_DEC", "0", "NULL", $size/8);
+ register_type($name, "offset = $dissectorname(tvb, offset, pinfo, tree, drep, \@HF\@, \@PARAM\@);", "FT_UINT$size", "BASE_HEX", "0", "NULL", $size/8);
}
sub ElementLevel($$$$$)