Commit Graph

6 Commits

Author SHA1 Message Date
Guy Harris a8bc4a0d13 Rename the routines that handle dissector tables with unsigned integer
keys to have _uint in their names, to match the routines that handle
dissector tables with string keys.  (Using _port can confuse people into
thinking they're intended solely for use with TCP/UDP/etc. ports when,
in fact, they work better for things such as Ethernet types, where the
binding of particular values to particular protocols are a lot
stronger.)

svn path=/trunk/; revision=35224
2010-12-20 05:35:29 +00:00
Bill Meier 6c08c2c43a Use DISSECTOR_ASSERT (not g_assert) in dissectors...
svn path=/trunk/; revision=34577
2010-10-20 00:47:23 +00:00
Bill Meier 7ae3e56828 Use dynamically created value_string_ext to store hash/symbol value_strings;
Also: minor code reformatting and re-arrangement.

svn path=/trunk/; revision=34569
2010-10-19 14:31:05 +00:00
Jeff Morriss 8ad4c4efdd Don't use g_strcmp0(): it only exists in glib > 2.16.
Make read_length() static.

Start function names at column 0.

svn path=/trunk/; revision=34565
2010-10-18 21:55:56 +00:00
Bill Meier be1a3f5a7e Try to fix compile errors on 64 bit systems.
svn path=/trunk/; revision=34561
2010-10-18 18:37:07 +00:00
Bill Meier 13b8efbf25 From Holger Grandy: ETCH dissector
See: https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5095

From me: Fix a bug in add_symbol which caused occasional Wireshark crashes;
         Add additional checking during parse of symbol hash file;
         Improve "directory not found" error message;
         Do misc code cleanup and simplification.

svn path=/trunk/; revision=34558
2010-10-18 16:15:12 +00:00