Commit Graph

10 Commits

Author SHA1 Message Date
Kovarththanan Rajaratnam 8b515e9340 Switch a bunch of dissectors over to using tvb_new_subset_remaining()
svn path=/trunk/; revision=29446
2009-08-16 12:36:22 +00:00
Kovarththanan Rajaratnam e971354a54 Don't guard col_set_str (COL_PROTOCOL) with col_check
svn path=/trunk/; revision=29340
2009-08-09 06:26:46 +00:00
Stig Bjørlykke b228488bc0 From Kovarththanan Rajaratnam via bug 3548:
(1) Trailing/leading spaces are removed from 'name's/'blurb's
(2) Duplicate 'blurb's are replaced with NULL
(3) Empty ("") 'blurb's are replaced with NULL
(4) BASE_NONE, NULL, 0x0 are used for 'display', 'strings' and 'bitmask' fields
    for FT_NONE, FT_BYTES, FT_IPv4, FT_IPv6, FT_ABSOLUTE_TIME, FT_RELATIVE_TIME,
    FT_PROTOCOL, FT_STRING and FT_STRINGZ field types
(5) Only allow non-zero value for 'display' if 'bitmask' is non-zero

svn path=/trunk/; revision=28770
2009-06-18 21:30:42 +00:00
Bill Meier 09c5d0c15b Addt'l minor change relating to proto_reg_handoff
svn path=/trunk/; revision=26282
2008-09-26 22:34:41 +00:00
Bill Meier c3ea1560bd Minor cleanup related to proto_register and proto_reg_handoff
svn path=/trunk/; revision=26281
2008-09-26 22:07:45 +00:00
Jeff Morriss bb323055b2 match_strval() may return NULL so don't blindly pass its return value into col_add_*() or proto_add_*(); use val_to_str() (returning "Unknown (%d)" if no match is found) instead.
svn path=/trunk/; revision=24557
2008-03-04 21:05:21 +00:00
Jeff Morriss fc7b16d9df Fix http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2331 : Replace match_strval() with val_to_str() returning "Unknown" if no match was found. This prevents us from passing a NULL pointer (which should replace a %s in the format string) which was causing g_vsnprintf() to core (at least on Solaris and, apparently, Windows).
svn path=/trunk/; revision=24555
2008-03-04 20:11:50 +00:00
Jörg Mayer d987ac4127 Fixes for: warning: function declaration isn't a prototype
svn path=/trunk/; revision=21082
2007-03-21 04:54:20 +00:00
Guy Harris 3094d7e3f6 dissect_roofnet_link() returns no value and nothing expects it to;
declare it to return void, not int.

Get rid of an unused variable.

svn path=/trunk/; revision=20211
2006-12-24 20:40:19 +00:00
Jaap Keuter 5ce80ed046 From Sebastien Tandel:
Here is a patch for the dissector of the new Roofnet protocol.

svn path=/trunk/; revision=20154
2006-12-19 22:16:54 +00:00