Commit Graph

37968 Commits

Author SHA1 Message Date
Alexis La Goutte bcefa6c2c3 Fix Dead Store (Dead assignement/Dead increment) Warning found by Clang
svn path=/trunk/; revision=39608
2011-10-26 18:01:25 +00:00
Alexis La Goutte 52ba0a20db Fix Dead Store (Dead assignement/Dead increment) Warning found by Clang
svn path=/trunk/; revision=39607
2011-10-26 18:01:12 +00:00
Alexis La Goutte d9623925e8 Fix Dead Store (Dead assignement/Dead increment) Warning found by Clang
svn path=/trunk/; revision=39606
2011-10-26 18:00:54 +00:00
Bill Meier 4b79db3e55 Add missing hf[] entries (and fix proto_tree_add_item() encoding args).
svn path=/trunk/; revision=39605
2011-10-26 17:04:26 +00:00
Alexis La Goutte 8a00b9a315 Fix Dead Store (Dead assignement/Dead increment) Warning found by Clang
svn path=/trunk/; revision=39604
2011-10-26 15:53:25 +00:00
Stig Bjørlykke 60bb13e25f Removed duplicate enip.connection_transport_data entry.
This fixes bug 6490.

svn path=/trunk/; revision=39603
2011-10-26 12:15:07 +00:00
Martin Mathieson c3c789da98 Add a newline at the end of this file.
svn path=/trunk/; revision=39602
2011-10-26 10:09:20 +00:00
Stig Bjørlykke 4a902dca46 Fixed compare functions for 64 bits integers:
- Do not cast unsigned values to signed
- Do cast signed values from the internal stored unsigned

svn path=/trunk/; revision=39601
2011-10-26 08:34:10 +00:00
Anders Broman 32713e84c0 Try to get rid of defined but not used warnings.
svn path=/trunk/; revision=39600
2011-10-26 06:24:05 +00:00
Anders Broman 2d9d7449b2 Try to fix
cc1: warnings being treated as errors
packet-cip.c: In function 'dissect_cip_generic_service_req':
packet-cip.c:3281: warning: format not a string literal and no format arguments
packet-cip.c: In function 'dissect_cip_generic_service_rsp':
packet-cip.c:3631: warning: format not a string literal and no format arguments
packet-cip.c: In function 'dissect_cip_data':
packet-cip.c:4881: warning: comparison between signed and unsigned

svn path=/trunk/; revision=39599
2011-10-26 06:14:53 +00:00
Anders Broman 7fe61d81e4 White space changes.
svn path=/trunk/; revision=39597
2011-10-26 05:07:57 +00:00
Anders Broman a81a945dc0 Extended with VSA:s from Peter Deacon trough
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6486

svn path=/trunk/; revision=39596
2011-10-26 05:03:26 +00:00
Anders Broman 4cfaa22784 From Michael Mann:
Improved CIP and ENIP dissectors

https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6416

svn path=/trunk/; revision=39595
2011-10-26 04:55:21 +00:00
Guy Harris 7068d5df0a Sync up the file format lists, add the Aethra files, and promote pcap-ng
to come right after pcap and not to be tagged as experimental.

svn path=/trunk/; revision=39594
2011-10-26 04:53:48 +00:00
Guy Harris 986c31ef88 Get rid of the list of capture file formats, so we have one fewer list
that we can fail to update.  Point the user at the Wireshark man page,
instead.

svn path=/trunk/; revision=39593
2011-10-26 04:51:48 +00:00
Guy Harris d7515bff87 Add the code to read Aethra files.
svn path=/trunk/; revision=39592
2011-10-26 04:31:06 +00:00
Guy Harris b4415758bf Ok, we found what appears to be the capture start time. Use it.
Also mark what appear to be strings in the file header.

svn path=/trunk/; revision=39591
2011-10-26 04:05:17 +00:00
Guy Harris 12e95e2cda It appears that the octet in the record header after the record length
might be a record type, with 0 being a "Stop Monitor" record and 1 being
a packet.  Ignore records other than packet records.

svn path=/trunk/; revision=39590
2011-10-26 03:14:21 +00:00
Guy Harris 72a96fc6a6 Avoid warnings.
svn path=/trunk/; revision=39589
2011-10-26 02:37:45 +00:00
Guy Harris e9ae3a0fd6 Initial support for .aps files from Aethra Telecommunications' PC108
software.  More work is needed:

	we don't know where the capture start time is yet;

	we aren't handling the "stop capture" record;

	we don't know where the ISDN channel is;

	there might be non-ISDN file formats;

but this at least is easier than trying to text2pcap hex dumps from that
software into pcap files.

svn path=/trunk/; revision=39588
2011-10-26 02:18:55 +00:00
Jeff Morriss 3b0625c340 Fix a spelling mistake. Wrap a few long lines.
svn path=/trunk/; revision=39587
2011-10-26 01:42:55 +00:00
Gerald Combs 601198e4fe Forward-port r39581 from the 1.6 trunk.
svn path=/trunk/; revision=39582
2011-10-25 22:03:54 +00:00
Bill Meier 15b6311c01 Fix proto_tree_add_item() encoding args.
svn path=/trunk/; revision=39580
2011-10-25 20:16:26 +00:00
Anders Broman ae8165fd4c Fix some set but not used [-Wunused-but-set-variable] warnings.
svn path=/trunk/; revision=39579
2011-10-25 20:08:26 +00:00
Bill Meier 54e47c8285 Fix proto_tree_add_item() encoding args.
svn path=/trunk/; revision=39578
2011-10-25 19:26:46 +00:00
Bill Meier b5d6e92fa4 Fix an encoding arg
svn path=/trunk/; revision=39577
2011-10-25 19:19:01 +00:00
Anders Broman 05452c11ab From Pascal Quantin.
wrong decoding of Activate default EPS bearer context request message containing a IPv6 interface id.

https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6484

svn path=/trunk/; revision=39575
2011-10-25 19:15:55 +00:00
Anders Broman 993f5d3ccc Make Custom.nmake usable.
(Should it be Custom_make.common or something like that)

svn path=/trunk/; revision=39574
2011-10-25 19:10:34 +00:00
Gerald Combs 920eaae369 In dist-hook, don't try to copy version.conf if it already exists in the
destination directory.

svn path=/trunk/; revision=39572
2011-10-25 19:04:26 +00:00
Stig Bjørlykke 447de1178d Allow signed integers displayed as BASE_HEX_DEC.
svn path=/trunk/; revision=39571
2011-10-25 19:04:10 +00:00
Bill Meier 0b9a4b16ef Fix proto_tree_add_item() encoding args.
svn path=/trunk/; revision=39570
2011-10-25 18:51:57 +00:00
Stig Bjørlykke 48f714096a Display BASE_DEC_HEX correct for int64/uint64.
svn path=/trunk/; revision=39569
2011-10-25 17:58:08 +00:00
Bill Meier 024230ece0 Update information about 'encoding' arg values for particular field-types.
svn path=/trunk/; revision=39568
2011-10-25 17:27:48 +00:00
Bill Meier 2374c799a6 Add encoding arg fix capability for proto_tree_add_bits_item,...,tvb_get_bits,...ptvcursor_add,...
Add 'find-all' capability.

svn path=/trunk/; revision=39567
2011-10-25 17:04:48 +00:00
Bill Meier 3f5b02de51 Fix encoding arg for ptvcursor_add() and ptvcursor_add_noadvance() function calls.
svn path=/trunk/; revision=39566
2011-10-25 16:04:31 +00:00
Bill Meier ef7f568963 Fix encoding arg for call to tvb_get_unicode_string().
svn path=/trunk/; revision=39565
2011-10-25 15:53:29 +00:00
Chris Maynard c66c5230a2 Fix Coverity CID 432, "Missing Break".
svn path=/trunk/; revision=39564
2011-10-25 14:19:34 +00:00
Stig Bjørlykke 2d62e550b7 Added another Lua warning:
- FT_FRAMENUM can not have a bitmask.

svn path=/trunk/; revision=39563
2011-10-25 11:20:54 +00:00
Stig Bjørlykke 943c8b97ed Added Lua error messages when:
- Adding a INT64/UINT64 field with a value string (currently unsupported).
- Trying to display a signed integer as hexadecimal.

svn path=/trunk/; revision=39562
2011-10-25 11:13:11 +00:00
Stig Bjørlykke 9cc2219ff8 Added missing support for FT_INT64 in proto_tree_add_bits_format_value().
svn path=/trunk/; revision=39561
2011-10-25 10:55:52 +00:00
Stig Bjørlykke b5b8fadc6d Simplified code checking if FT_UINT64 is displayed as BASE_NONE.
svn path=/trunk/; revision=39560
2011-10-25 10:48:20 +00:00
Stig Bjørlykke a37dff8930 Allow signed integers displayed as DEC_HEX.
svn path=/trunk/; revision=39559
2011-10-25 10:48:11 +00:00
Stig Bjørlykke fdc15f6cd5 Fixed using signed 64-bits integer in custom column.
svn path=/trunk/; revision=39558
2011-10-25 10:48:03 +00:00
Stig Bjørlykke 9a4f284ed4 Revert "Allow value_strings for FT_INT64 and FT_UINT64.", as we
haven't generic support for value_strings for 64-bit values yet.

svn path=/trunk/; revision=39557
2011-10-25 10:26:30 +00:00
Stig Bjørlykke f3f1b20539 Allow value_strings for FT_INT64 and FT_UINT64.
svn path=/trunk/; revision=39556
2011-10-25 07:46:25 +00:00
Guy Harris bdc92e9a5d Add missing semicolon.
svn path=/trunk/; revision=39555
2011-10-25 06:08:16 +00:00
Anders Broman 2d263d571f Try to get rid of "defined but not used" warnings.
svn path=/trunk/; revision=39554
2011-10-25 05:47:07 +00:00
Anders Broman 585ee5026d From Neil Piercy:
The binary display and decimal values are corrupt in the case where they are
"stitched" together from words and octets: the complete words are extracted
ready for LSB padding, but when the final octet/word is added (also so
extracted), the data already present is shifted by a whole number of octets
(not allowing for the padding), and the value is then used by the binary and
decimal display functions as if it were MSB padded. This results in both a
corrupt bit pattern and wrong padding of the bit pattern in the display.

https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6473

svn path=/trunk/; revision=39553
2011-10-25 05:46:31 +00:00
Jeff Morriss 42eb7297b4 From Michael Mann via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6446 :
Add some filters to the IMAP dissector (proto_tree_add_text() ->
proto_tree_add_item()).

svn path=/trunk/; revision=39551
2011-10-25 01:28:00 +00:00
Jeff Morriss d7d39e9597 From Michael Mann via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6470 :
Add some filters to the SMTP dissector (proto_tree_add_text() ->
proto_tree_add_item()).

svn path=/trunk/; revision=39550
2011-10-25 01:13:21 +00:00