Commit Graph

18 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 09764dd969 Remove unneeded #include <stdio.h>
svn path=/trunk/; revision=32367
2010-04-03 21:55:23 +00:00
Kovarththanan Rajaratnam 0a5b014cec Don't guard col_clear with col_check
svn path=/trunk/; revision=29344
2009-08-09 07:36:13 +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
Guy Harris 9d6909f188 Some size_t cleanups.
svn path=/trunk/; revision=27951
2009-04-03 19:01:40 +00:00
Jeff Morriss e62c7c54d1 Create the MTP3 TVB (if any) with a reported length that mirrors the reported length of the frame. That way subdissector exceptions on short frames will (properly) show up as 'packet size limited during capture'.
svn path=/trunk/; revision=25637
2008-06-30 15:23:11 +00:00
Jeff Morriss 708fbadf26 Fix a comment: the subdissector won't /assert/ out it will /except/ out if the MSU is truncated.
svn path=/trunk/; revision=25613
2008-06-26 20:42:58 +00:00
Jeff Morriss 9bc8f579a1 From Abhik Sarkar via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2647 :
The syslog dissector could crash if the "packlog" MSU is truncated such that
the hex string ends in with a nibble.

From me: Check if that will happen and chop off the nibble before giving it to
convert_string_to_hex() so we'll dissect as much of the MSU as possible.

svn path=/trunk/; revision=25612
2008-06-26 20:40:30 +00:00
Stephen Fisher 726a1caaf1 - Remove GLIB1 code
- Change ugly GLIB version checking statements to GLIB_CHECK_VERSION
- Remove ws_strsplit files because we no longer need to borrow GLIB2's
  g_strsplit code for the no longer supported GLIB1 builds


svn path=/trunk/; revision=24829
2008-04-07 05:22:54 +00:00
Jeff Morriss f50a031bff Include ws_strsplit.h to override glib 1.2's (buggy) g_strsplit() as per rev 20804
svn path=/trunk/; revision=21226
2007-03-27 10:15:28 +00:00
Jeff Morriss 42fbb5c031 From Abhik Sarkar: call add_new_data_source() on generated (MTP3) tvb so that users can see the bytes in a (new) byte pane.
svn path=/trunk/; revision=21109
2007-03-22 08:11:16 +00:00
Guy Harris 1a2a777a1f Declare nbytes to match what the routine getting a pointer to it
expects.

svn path=/trunk/; revision=20843
2007-02-19 00:59:20 +00:00
Jeff Morriss 088ef0165a From Abhik Sarkar: support for decoding SS7 MSUs embedded in a syslog message
(as generated by the Cisco ITP packet logging facility).


svn path=/trunk/; revision=20665
2007-02-01 09:55:52 +00:00
Ronnie Sahlberg feab79e328 change a whole bunch of ethereal into wireshark
svn path=/trunk/; revision=18196
2006-05-21 04:49:01 +00:00
Jaap Keuter f459143fb4 Fix for bug 758: Adding facility codes 12-15 according to RFC 3164
svn path=/trunk/; revision=17361
2006-02-21 21:30:27 +00:00
Guy Harris e01909c0ea Use tvb_format_text() on the message, to handle non-printable characters
(including tabs and newlines).

svn path=/trunk/; revision=17118
2006-01-29 12:57:14 +00:00
Ronnie Sahlberg 3e0e34cd09 get rid of a strcpy
svn path=/trunk/; revision=16339
2005-10-27 09:43:32 +00:00
Gilbert Ramirez 669db206cb Move dissectors to epan/dissectors directory.
Also move ncp222.py, x11-fields, process-x11-fields.pl,
make-reg-dotc, and make-reg-dotc.py.

Adjust #include lines in files that include packet-*.h
files.

svn path=/trunk/; revision=11410
2004-07-18 18:06:47 +00:00