Commit Graph

39298 Commits

Author SHA1 Message Date
Alexis La Goutte f1723b8c1d Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
svn path=/trunk/; revision=41316
2012-03-02 11:09:47 +00:00
Alexis La Goutte aa4a11af37 Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
svn path=/trunk/; revision=41315
2012-03-02 11:09:34 +00:00
Alexis La Goutte 8179474093 Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
svn path=/trunk/; revision=41314
2012-03-02 11:09:15 +00:00
Alexis La Goutte ba4c8fdbc3 Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
svn path=/trunk/; revision=41313
2012-03-02 11:08:49 +00:00
Alexis La Goutte 92896f46b8 Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
svn path=/trunk/; revision=41312
2012-03-02 11:07:50 +00:00
Alexis La Goutte 168c540f65 Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
svn path=/trunk/; revision=41311
2012-03-02 11:07:36 +00:00
Alexis La Goutte c6fc195c47 Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
svn path=/trunk/; revision=41310
2012-03-02 11:06:52 +00:00
Alexis La Goutte 2e79d142c7 Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
svn path=/trunk/; revision=41309
2012-03-02 11:06:37 +00:00
Alexis La Goutte 056fa6a57a Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
svn path=/trunk/; revision=41308
2012-03-02 11:06:17 +00:00
Alexis La Goutte af2910972a Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
svn path=/trunk/; revision=41307
2012-03-02 11:05:50 +00:00
Alexis La Goutte eebaffcc5c Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
svn path=/trunk/; revision=41306
2012-03-02 11:05:23 +00:00
Alexis La Goutte 77afe2d93d Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
svn path=/trunk/; revision=41305
2012-03-02 11:05:08 +00:00
Alexis La Goutte 49d2d91818 Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
svn path=/trunk/; revision=41304
2012-03-02 11:04:51 +00:00
Alexis La Goutte 08006ac943 Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
svn path=/trunk/; revision=41303
2012-03-02 11:04:31 +00:00
Alexis La Goutte 3063f260ce Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
svn path=/trunk/; revision=41302
2012-03-02 11:04:09 +00:00
Alexis La Goutte 65edc0dc95 Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
svn path=/trunk/; revision=41301
2012-03-02 11:03:46 +00:00
Alexis La Goutte 62de88285d Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
svn path=/trunk/; revision=41300
2012-03-02 11:02:46 +00:00
Alexis La Goutte 7857dc50fb Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
svn path=/trunk/; revision=41299
2012-03-02 11:02:02 +00:00
Alexis La Goutte 8e968adb2c Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
svn path=/trunk/; revision=41298
2012-03-02 11:00:24 +00:00
Alexis La Goutte 8cc44ff4f0 Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
svn path=/trunk/; revision=41297
2012-03-02 10:58:29 +00:00
Alexis La Goutte c1ff84a632 Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
svn path=/trunk/; revision=41296
2012-03-02 10:57:48 +00:00
Alexis La Goutte a66252358c From Francesco Fondelli
Fix indent (use 80 columns) in MPLS PM dissector

svn path=/trunk/; revision=41295
2012-03-02 10:56:31 +00:00
Guy Harris 57839d9e4a Flag mp2t file as really having only relative time stamps. Put the
comment on its own line in mpeg.c as well.

svn path=/trunk/; revision=41294
2012-03-02 10:17:36 +00:00
Guy Harris 0475f29216 The additional_file_extensions member of struct file_type_info need not
and should not contain the extension in the default_file_extension
member - that's why the name starts with "additional".

svn path=/trunk/; revision=41293
2012-03-02 10:09:23 +00:00
Guy Harris 17dff5f3c4 Get rid of no-longer-needed argument to pcapng_write_section_header_block().
svn path=/trunk/; revision=41292
2012-03-02 09:38:43 +00:00
Guy Harris 10337e0ca4 Skip an intermediating wtapng_block_t in the code path to write
Interface Description Blocks.

Fix a typo (if_fcslen was meant rather than opt_comment when writing the
FCS length).

svn path=/trunk/; revision=41291
2012-03-02 09:30:10 +00:00
Anders Broman bfcf193d2f Increase the size of the preallocated area for hf fields.
svn path=/trunk/; revision=41290
2012-03-02 09:28:30 +00:00
Guy Harris 334a807e14 Simplify the code path for writing pcap-NG packets, and remove some
no-longer-needed elements from the wtapng_packet_t structure.

svn path=/trunk/; revision=41289
2012-03-02 09:03:26 +00:00
Anders Broman e82ad19e58 From Weston Schmidt: Add mpeg-ts capture file format support. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6894
svn path=/trunk/; revision=41286
2012-03-02 06:02:28 +00:00
Bill Meier c58bbe0ad7 Fix proto_tree_add_item() 'encoding' args.
svn path=/trunk/; revision=41285
2012-03-02 05:10:02 +00:00
Guy Harris 44528a6437 Fill in the wtap_pkthdr fields in pcap_read_packet_block() and
pcap_read_simple_packet_block(), not in pcap_read() - the way the fields
are filled in differs between simple and non-simple packet blocks.

Clean up white space.

svn path=/trunk/; revision=41284
2012-03-02 05:03:06 +00:00
Jeff Morriss bb9b8880af From Michael Mann via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6893 :
The attached patches fix the following issues:

1. CIP-Motion shouldn't be a heuristic dissector.  CIP-Motion packets are
determined by specific fields in a CIP ForwardOpen.  I ran into situations
where CIP-Motion's "vague" heuristics incorrectly dissected packets meant for
CIP-Safety.  Of course this requires the ForwardOpen to be in the trace, but it
is the most deterministic way to have CIP-Motion packets.

2. Minor bugfix to the CIP-Safety dissector.  A couple of fields were
"missing", causing errant malformed packets.

svn path=/trunk/; revision=41283
2012-03-02 03:39:16 +00:00
Jeff Morriss 1ff7c5d916 From Tom Bottom and Chris Pane via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6887 :
A new dissector for IEEE 1722.1.

From me: some code cleanup, including:
 - Get rid of some unnecessary local variable initializations.
 - Put all of 1722.1 under one subtree.
 - Just put if(tree)s in the top-level function rather than scattered throughout.
 - Remove a couple "set but not used" warnings (a couple are #if'd out).
 - Don't use deprecated functions.

svn path=/trunk/; revision=41282
2012-03-02 03:30:30 +00:00
Bill Meier f2c1c108f5 AFAIKT there's no reason to #include <wsutil/crc32.c>; Include crc32.h like everyone else...
Also: Do some whitespace and indentation cleanup.

svn path=/trunk/; revision=41281
2012-03-02 00:31:30 +00:00
Jeff Morriss a146f5a2e2 (After a couple of years of warning about this), assert out if someone tries
to register an hf with an empty-string abbreviation.

svn path=/trunk/; revision=41280
2012-03-01 22:00:33 +00:00
Bill Meier 7e85674577 Various Changes:
- Use proper 'encoding' arg (iso TRUE/FALSE) for proto_tree_add_item();
- Use correct value for tvb_new_subset() 'reported_length' arg;
- For proto_tree_add_protocol_format(): Use a length no greater than
    that actually available in the tvb. This allows dissection to attempt to
    proceed even if the length as obtained from the packet is too large.
- Remove 'set not not used' variable;
- Do minor reformatting and whitespace changes.

svn path=/trunk/; revision=41279
2012-03-01 21:04:04 +00:00
Bill Meier 61435f78dc set 'svn:eol-style native' property
svn path=/trunk/; revision=41278
2012-03-01 17:39:22 +00:00
Bill Meier eb856153aa Set svn:mime-type to image/svg+xml; delete svn:keywords
svn path=/trunk/; revision=41277
2012-03-01 17:35:16 +00:00
Anders Broman 94d95e3629 From Michael.
svn path=/trunk/; revision=41276
2012-03-01 17:19:57 +00:00
Bill Meier 1477a3d9bc Set svn:eol-style property to native
svn path=/trunk/; revision=41275
2012-03-01 17:19:38 +00:00
Bill Meier a54f1e3325 Set svn:mime-type to image/png iso application/octet-stream; remove svn:keywords
svn path=/trunk/; revision=41274
2012-03-01 17:12:18 +00:00
Bill Meier 9e10063eb8 Set property svn:mime-type to 'image/png' instead of 'application/octet-stream'
svn path=/trunk/; revision=41273
2012-03-01 16:45:33 +00:00
Jeff Morriss 5811471407 Fix https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6891 :
Handle generating selected values for hf's with BASE_DEC_HEX and BASE_HEX_DEC.

svn path=/trunk/; revision=41272
2012-03-01 16:42:49 +00:00
Anders Broman e473e6eb9f See if this solves:
> packet-noe.c: In function 'decode_utf8':
> packet-noe.c:805: warning: integer constant is too large for 'long' 
> type
> packet-noe.c:808: warning: integer constant is too large for 'long' 
> type
> packet-noe.c:814: warning: integer constant is too large for 'long' 
> type
> packet-noe.c:817: warning: integer constant is too large for 'long' 
> type
> packet-noe.c:818: warning: integer constant is too large for 'long' 
> type

svn path=/trunk/; revision=41271
2012-03-01 16:32:24 +00:00
Jeff Morriss b1fcbfa429 Add packet-uaudp.h to list of header files (and thus to the source distribution)
svn path=/trunk/; revision=41270
2012-03-01 16:09:12 +00:00
Jeff Morriss 8db7c4d369 #if out setting the help buttons' callbacks to NULL to avoid GLib-Object-CRITICAL warnings.
svn path=/trunk/; revision=41269
2012-03-01 16:03:42 +00:00
Jeff Morriss e3cf120575 Keep track of whether we have a "Edit Capture Comment" dialog open. If we do,
don't open another one.

Make a couple globals static.

svn path=/trunk/; revision=41268
2012-03-01 15:57:39 +00:00
Michael Tüxen a7e2d55198 Fix CID 473 and 474.
svn path=/trunk/; revision=41267
2012-03-01 15:50:43 +00:00
Anders Broman d8d9450a4f From Lars Ruoff:
Dissector for Alcatel-Lucent Enterprise Universal Alcatel- and NOE protocol, take II.
families.
Meant as a replacement for existing UA-dissector in trunk because of better
feature set:
- latest protocol specifiaction
- more detailed dissection and filtering possibilities on subprotocols
- RTP stream setup
- NOE over SIP

Lars Ruoff
On behalf of Alcatel-Lucent Enterprise

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

svn path=/trunk/; revision=41266
2012-03-01 15:23:05 +00:00
Michael Tüxen 566dc82999 Fix CID 1373.
svn path=/trunk/; revision=41265
2012-03-01 15:10:45 +00:00