metze/wireshark/wip.git
12 years agoFix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
Alexis La Goutte [Fri, 13 Jan 2012 16:37:21 +0000 (16:37 -0000)]
Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang

svn path=/trunk/; revision=40475

12 years agoFix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
Alexis La Goutte [Fri, 13 Jan 2012 16:37:04 +0000 (16:37 -0000)]
Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang

svn path=/trunk/; revision=40474

12 years agoFix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
Alexis La Goutte [Fri, 13 Jan 2012 16:36:07 +0000 (16:36 -0000)]
Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang

svn path=/trunk/; revision=40473

12 years agoFix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
Alexis La Goutte [Fri, 13 Jan 2012 16:34:32 +0000 (16:34 -0000)]
Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang

svn path=/trunk/; revision=40472

12 years agoFix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
Alexis La Goutte [Fri, 13 Jan 2012 16:34:15 +0000 (16:34 -0000)]
Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang

svn path=/trunk/; revision=40471

12 years agoFix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
Alexis La Goutte [Fri, 13 Jan 2012 16:33:57 +0000 (16:33 -0000)]
Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang

svn path=/trunk/; revision=40470

12 years agoFix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
Alexis La Goutte [Fri, 13 Jan 2012 16:33:40 +0000 (16:33 -0000)]
Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang

svn path=/trunk/; revision=40469

12 years agoFix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
Alexis La Goutte [Fri, 13 Jan 2012 16:33:04 +0000 (16:33 -0000)]
Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang

svn path=/trunk/; revision=40468

12 years agoFix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
Alexis La Goutte [Fri, 13 Jan 2012 16:30:39 +0000 (16:30 -0000)]
Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang

svn path=/trunk/; revision=40467

12 years agoFix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
Alexis La Goutte [Fri, 13 Jan 2012 16:28:54 +0000 (16:28 -0000)]
Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang

svn path=/trunk/; revision=40466

12 years agoFix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
Alexis La Goutte [Fri, 13 Jan 2012 16:27:50 +0000 (16:27 -0000)]
Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang

svn path=/trunk/; revision=40465

12 years agoFix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
Alexis La Goutte [Fri, 13 Jan 2012 16:26:45 +0000 (16:26 -0000)]
Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang

svn path=/trunk/; revision=40464

12 years agoFix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
Alexis La Goutte [Fri, 13 Jan 2012 16:24:44 +0000 (16:24 -0000)]
Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang

svn path=/trunk/; revision=40463

12 years agoFix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
Alexis La Goutte [Fri, 13 Jan 2012 16:22:50 +0000 (16:22 -0000)]
Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang

svn path=/trunk/; revision=40462

12 years agoFix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
Alexis La Goutte [Fri, 13 Jan 2012 16:21:08 +0000 (16:21 -0000)]
Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang

svn path=/trunk/; revision=40461

12 years agoFix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
Alexis La Goutte [Fri, 13 Jan 2012 16:20:23 +0000 (16:20 -0000)]
Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang

svn path=/trunk/; revision=40460

12 years agoFix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
Alexis La Goutte [Fri, 13 Jan 2012 16:19:24 +0000 (16:19 -0000)]
Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang

svn path=/trunk/; revision=40459

12 years agoFix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
Alexis La Goutte [Fri, 13 Jan 2012 16:18:39 +0000 (16:18 -0000)]
Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang

svn path=/trunk/; revision=40458

12 years agoFix some Dereference of null pointer Warning found by Clang
Alexis La Goutte [Fri, 13 Jan 2012 16:17:26 +0000 (16:17 -0000)]
Fix some Dereference of null pointer Warning found by Clang

svn path=/trunk/; revision=40457

12 years agoFix some Dereference of null pointer Warning found by Clang
Alexis La Goutte [Fri, 13 Jan 2012 16:16:41 +0000 (16:16 -0000)]
Fix some Dereference of null pointer Warning found by Clang

svn path=/trunk/; revision=40456

12 years agoAdd H248-2 Dissector to CMake (Miss in revision 40439)
Alexis La Goutte [Fri, 13 Jan 2012 16:13:40 +0000 (16:13 -0000)]
Add H248-2 Dissector to CMake (Miss in revision 40439)

svn path=/trunk/; revision=40455

12 years agoFix some typos.
Chris Maynard [Fri, 13 Jan 2012 16:05:23 +0000 (16:05 -0000)]
Fix some typos.

svn path=/trunk/; revision=40454

12 years agoFix:
Bill Meier [Fri, 13 Jan 2012 14:18:07 +0000 (14:18 -0000)]
Fix:
packet-gsm_a_rr.c:3867:101: error: parameter 'len' set but not used [-Werror=unused-but-set-parameter]
packet-gsm_a_rr.c:6837:46: warning: variable 'bit_offset_sav2' set but not used [-Wunused-but-set-variable]
packet-gsm_a_rr.c:7458:18: warning: variable 'curr_offset' set but not used [-Wunused-but-set-variab

svn path=/trunk/; revision=40453

12 years agoMinor cleanup:
Bill Meier [Fri, 13 Jan 2012 14:03:10 +0000 (14:03 -0000)]
Minor cleanup:
 Merge packet-meta.h into packet-meta.c;
 Remove an unneeded #include;
 Remove an unused variable.

svn path=/trunk/; revision=40452

12 years agoFix:
Anders Broman [Fri, 13 Jan 2012 06:42:46 +0000 (06:42 -0000)]
Fix:
packet-gsm_a_rr.c:3289: warning: unused parameter 'len'
packet-gsm_a_rr.c:3412: warning: unused parameter 'len'
packet-gsm_a_rr.c:4449: warning: unused variable 'bit_len'
packet-gsm_a_rr.c:4444: warning: unused parameter 'len'
packet-gsm_a_rr.c:4557: warning: unused parameter 'len'
packet-gsm_a_rr.c:6285: warning: unused parameter 'len'
packet-gsm_a_rr.c:6765: warning: unused variable 'bit_len'
packet-gsm_a_rr.c:6759: warning: unused parameter 'len'
packet-gsm_a_rr.c:6987: warning: unused variable 'bit_len'
packet-gsm_a_rr.c:6979: warning: unused parameter 'len'
packet-gsm_a_rr.c:7457: warning: unused parameter 'len'

svn path=/trunk/; revision=40451

12 years agoFrom Yi Zhang:
Anders Broman [Fri, 13 Jan 2012 06:34:07 +0000 (06:34 -0000)]
From Yi Zhang:
DSG_DA_TO_DSID_ASSOCIATION_DA/DSID is not correctly parsed in DOCSIS MDD packet.

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

svn path=/trunk/; revision=40450

12 years agoFrom Yi Zhang:
Anders Broman [Fri, 13 Jan 2012 06:29:03 +0000 (06:29 -0000)]
From Yi Zhang:
The DCD_CLID_BCAST_ID TLV is not supported in DOCSIS plugin.

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

svn path=/trunk/; revision=40449

12 years agoFrom Edward Sheldrake:
Anders Broman [Fri, 13 Jan 2012 06:22:56 +0000 (06:22 -0000)]
From  Edward Sheldrake:
Wireshark crashes if you open the file import dialog and choose something from the "Encapsulation type" list.

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

svn path=/trunk/; revision=40448

12 years agoFrom Mike Morrin:
Anders Broman [Fri, 13 Jan 2012 06:11:44 +0000 (06:11 -0000)]
From Mike Morrin:
This is largely a cosmetic update of the gsm_a_rr dissector:

•    TBF starting time is now fully decoded.
•    “Double indenting” of IE groups (where an IE dissector adds a subtree just
after the generic dissector adds a subtree) has been eliminated.
•    “Null” break points in CSN.1 IEs have been added where they were
previously missing (this could have caused some correct PDUs to be reported as
malformed).
•    The calculation of CSN.1 IE lengths has been corrected: ((a – b)>>3)+1 is
not the same as (a>>3)-(b>>3)+1 .
•    The handling of CSN.1 padding bits is slightly improved.
•    The handling of CSN.1 “truncated” bits is slightly improved.
•    Eliminated superfluous checks for len==0 at the beginning of some
rest-octet dissectors (the generic dissector won’t call the CSN.1 dissector if
len is 0).
•    A few minor corrections to text strings and formatting.

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

svn path=/trunk/; revision=40447

12 years agoVarious minor mods;
Bill Meier [Thu, 12 Jan 2012 22:25:42 +0000 (22:25 -0000)]
Various minor mods;
- check-col() not needed;
- use tvb_new_subset_remaining() iso tvb_new();
- #if 0 (currently ?) unused 'erf_handle';
- Convert some '4 space tabs' to 4 spaces;
- other reformatting.

svn path=/trunk/; revision=40446

12 years agoFrom Tobias Witek: Add dissector table to 'meta' dissector.
Bill Meier [Thu, 12 Jan 2012 22:13:09 +0000 (22:13 -0000)]
From Tobias Witek: Add dissector table to 'meta' dissector.

  The attached patch adds a dissector table to the 'meta' dissector
  so that other protocol dissectors can register for specific values
  of 'meta.proto'.

  Additionally, the patch also adds three more protocol values.

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

svn path=/trunk/; revision=40445

12 years agoDon't do fcn calls in arg of g_?to??(); Macro may very well eval args multiple times.
Bill Meier [Thu, 12 Jan 2012 20:40:23 +0000 (20:40 -0000)]
Don't do fcn calls in arg of g_?to??(); Macro may very well eval args multiple times.

svn path=/trunk/; revision=40444

12 years agoCMakeLists.txt: Make sure TSHARK_TAP_SRC is defined before
Gerald Combs [Thu, 12 Jan 2012 19:16:15 +0000 (19:16 -0000)]
CMakeLists.txt: Make sure TSHARK_TAP_SRC is defined before
register_tap_files so that the "-z" flag works for TShark.

epan/stat_cmd_args.c: Fixup whitespace.

svn path=/trunk/; revision=40443

12 years agoRe-indent for readability.
Bill Meier [Thu, 12 Jan 2012 15:04:09 +0000 (15:04 -0000)]
Re-indent for readability.

svn path=/trunk/; revision=40442

12 years ago"Call nas-eps" dissector for nas_rrc_r8_lte and nas_rrc_r9_lte frames that have L3...
Martin Mathieson [Wed, 11 Jan 2012 21:31:11 +0000 (21:31 -0000)]
"Call nas-eps" dissector for nas_rrc_r8_lte and nas_rrc_r9_lte frames that have L3 payloads.

svn path=/trunk/; revision=40441

12 years agoDon't do tvb_get...() in arg of g_htonl(); Macro evals args multiple times.
Bill Meier [Wed, 11 Jan 2012 20:12:51 +0000 (20:12 -0000)]
Don't do tvb_get...() in arg of g_htonl(); Macro evals args multiple times.

svn path=/trunk/; revision=40440

12 years agoAdd a dissector for h248.2 packages.
Anders Broman [Wed, 11 Jan 2012 19:31:45 +0000 (19:31 -0000)]
Add a dissector for h248.2 packages.

svn path=/trunk/; revision=40439

12 years agoCopy over updates from the 1.6 branch.
Gerald Combs [Wed, 11 Jan 2012 17:03:54 +0000 (17:03 -0000)]
Copy over updates from the 1.6 branch.

svn path=/trunk/; revision=40437

12 years agoFrom Martin Kaiser:
Anders Broman [Wed, 11 Jan 2012 06:38:25 +0000 (06:38 -0000)]
From Martin Kaiser:
DVB-CI / CI+ dissect sac message body.

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

svn path=/trunk/; revision=40435

12 years agoFrom Lei Chen:
Anders Broman [Wed, 11 Jan 2012 06:30:20 +0000 (06:30 -0000)]
From Lei Chen:
An error in eutran_measurement_param_desc of GSM si2qua rest octet.

From me fix similar bugs.
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6721

svn path=/trunk/; revision=40434

12 years agoFrom mtwire via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6722
Alexis La Goutte [Tue, 10 Jan 2012 15:12:13 +0000 (15:12 -0000)]
From mtwire via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6722
Small corrections in the Alcatel UA dissector

The most important change is to add a condition in dissector for TLV with ID equal to 104 as in the case of the 120. No condition causing 'malformed packet'.

svn path=/trunk/; revision=40424

12 years agoFrom Jose Pedro Oliveira via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id...
Alexis La Goutte [Tue, 10 Jan 2012 13:59:27 +0000 (13:59 -0000)]
From Jose Pedro Oliveira  via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6719
pcapio.c: bug in libpcap_write_interface_description_block

The attached patch fixes a copy_and_paste error in the code of the function libpcap_write_interface_description_block(): strlen(name) instead of strlen(filter).

svn path=/trunk/; revision=40423

12 years agoFrom Wojciech Dubowik via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6720
Alexis La Goutte [Tue, 10 Jan 2012 12:08:43 +0000 (12:08 -0000)]
From Wojciech Dubowik via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6720
Add STBC flag to MCS field in radiotap packet dissector.

From me:
Replace VALS by TFS (and use boolean hf)

svn path=/trunk/; revision=40422

12 years agoRemove some debug logging.
Gerald Combs [Mon, 9 Jan 2012 19:31:31 +0000 (19:31 -0000)]
Remove some debug logging.

svn path=/trunk/; revision=40421

12 years agoIt appears that the intent of r35027 was to use reset_tap_update_timer() not
Jeff Morriss [Mon, 9 Jan 2012 19:05:00 +0000 (19:05 -0000)]
It appears that the intent of r35027 was to use reset_tap_update_timer() not
just on Windows or when we have threads, so make it so.

svn path=/trunk/; revision=40420

12 years agoFix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
Alexis La Goutte [Mon, 9 Jan 2012 16:36:56 +0000 (16:36 -0000)]
Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang

Try to compile with cmake in Ubuntu 11.10

svn path=/trunk/; revision=40412

12 years agoFix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
Alexis La Goutte [Mon, 9 Jan 2012 16:33:47 +0000 (16:33 -0000)]
Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang

Try to compile with cmake in Ubuntu 11.10

svn path=/trunk/; revision=40411

12 years agoFix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
Alexis La Goutte [Mon, 9 Jan 2012 16:32:53 +0000 (16:32 -0000)]
Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang

Try to compile with cmake in Ubuntu 11.10

svn path=/trunk/; revision=40410

12 years agoRemove a generated file (pointed out by Gisle Vanem).
Gerald Combs [Mon, 9 Jan 2012 06:21:19 +0000 (06:21 -0000)]
Remove a generated file (pointed out by Gisle Vanem).

svn path=/trunk/; revision=40409

12 years agoFrom Martin Kaiser:
Anders Broman [Sun, 8 Jan 2012 15:34:23 +0000 (15:34 -0000)]
From Martin Kaiser:
DVB-CI / CI+ decrypt SAC messages.

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

svn path=/trunk/; revision=40407

12 years agoFrom Mike Morrin:
Anders Broman [Sun, 8 Jan 2012 15:30:05 +0000 (15:30 -0000)]
From Mike Morrin:
GSM RR CCCH dissection ignores last octet of PDU.

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

svn path=/trunk/; revision=40405

12 years ago[Automatic manuf, services and enterprise-numbers update for 2012-01-08]
Gerald Combs [Sun, 8 Jan 2012 15:03:27 +0000 (15:03 -0000)]
[Automatic manuf, services and enterprise-numbers update for 2012-01-08]

svn path=/trunk/; revision=40404

12 years agoSimplify key for cid->context hash table. Copy more details between contexts when...
Martin Mathieson [Sat, 7 Jan 2012 02:50:37 +0000 (02:50 -0000)]
Simplify key for cid->context hash table. Copy more details between contexts when updating.

svn path=/trunk/; revision=40403

12 years agoQuote some filename usage.
Bill Meier [Fri, 6 Jan 2012 18:25:20 +0000 (18:25 -0000)]
Quote some filename usage.

svn path=/trunk/; revision=40397

12 years agoAdd quotes around some filename usage; Also: use $() instead of backticks
Bill Meier [Fri, 6 Jan 2012 18:22:50 +0000 (18:22 -0000)]
Add quotes around some filename usage; Also: use $() instead of backticks

svn path=/trunk/; revision=40396

12 years agoRemove support for MSVC < MSVC2005; Update Developer's Guide.
Bill Meier [Fri, 6 Jan 2012 15:45:46 +0000 (15:45 -0000)]
Remove support for MSVC < MSVC2005; Update Developer's Guide.

svn path=/trunk/; revision=40395

12 years agoFix: packet-rohc.c:439:20: error: variable ‘PS’ set but not used [-Werror=unused...
Jörg Mayer [Fri, 6 Jan 2012 10:11:30 +0000 (10:11 -0000)]
Fix: packet-rohc.c:439:20: error: variable ‘PS’ set but not used [-Werror=unused-but-set-variable]

svn path=/trunk/; revision=40394

12 years agoFrom Tobias Witek:
Anders Broman [Thu, 5 Jan 2012 19:43:37 +0000 (19:43 -0000)]
From Tobias Witek:
Patch to correctly format IMSI, IMEI and mobile cell in packet-meta.c

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

svn path=/trunk/; revision=40392

12 years agoFix Coverity CID's 1348-1349: UNUSED_VALUE and CID 1344: CONSTANT_EXPRESSION_RESULT.
Chris Maynard [Thu, 5 Jan 2012 19:14:54 +0000 (19:14 -0000)]
Fix Coverity CID's 1348-1349: UNUSED_VALUE and CID 1344: CONSTANT_EXPRESSION_RESULT.

svn path=/trunk/; revision=40391

12 years agoFix some typos. Fixes https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6709
anonsvn [Thu, 5 Jan 2012 18:54:02 +0000 (18:54 -0000)]
Fix some typos.  Fixes https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6709

svn path=/trunk/; revision=40390

12 years ago- Add the beginning of compressed list handling.
Martin Mathieson [Thu, 5 Jan 2012 17:40:41 +0000 (17:40 -0000)]
- Add the beginning of compressed list handling.
    - Will at least skip the single byte if there is nothing in the list.
    - Checks that the intended encoding type (ET) is found
    - Need to call from lots of places
- Pass correct subtree for feedback items (was passing NULL so items weren't there)
- show SNs as decimal
- remove a few stray tabs
- fix a typo

Still need to port some parts from packet-pdcp-lte.c that aren't handled (e.g. UO_0).  And the context lookup seems broken (at least for IxCatapult logs).

svn path=/trunk/; revision=40388

12 years agoUse length field from UDP header as the pseudo-header's UDP length field instead...
Chris Maynard [Thu, 5 Jan 2012 17:29:27 +0000 (17:29 -0000)]
Use length field from UDP header as the pseudo-header's UDP length field instead of using the reported_len.  Fixes https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6711

svn path=/trunk/; revision=40387

12 years agoFix the following error :
Alexis La Goutte [Thu, 5 Jan 2012 08:29:58 +0000 (08:29 -0000)]
Fix the following error :
packet-gsm_a_rr.c: In function 'de_rr_p2_rest_oct':
packet-gsm_a_rr.c:4033:105: error: suggest braces around empty body in an 'if' statement [-Werror=empty-body]

svn path=/trunk/; revision=40386

12 years agoFrom Mike Morrin:
Anders Broman [Thu, 5 Jan 2012 07:24:21 +0000 (07:24 -0000)]
From Mike Morrin:
Improvements to handling of gsm_um traces and dissection of ccch protocol

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

svn path=/trunk/; revision=40385

12 years agoFrom Mike Morrin:
Anders Broman [Thu, 5 Jan 2012 07:17:38 +0000 (07:17 -0000)]
From Mike Morrin:
Wrong tvb_get_bits function call in packet-csn1.c.

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

svn path=/trunk/; revision=40384

12 years agodissect_esp(): 'i' is only (really) used if we HAVE_LIBGCRYPT.
Jeff Morriss [Thu, 5 Jan 2012 02:06:08 +0000 (02:06 -0000)]
dissect_esp(): 'i' is only (really) used if we HAVE_LIBGCRYPT.

svn path=/trunk/; revision=40383

12 years agoShow % UL padding as a progress bar.
Martin Mathieson [Thu, 5 Jan 2012 02:00:13 +0000 (02:00 -0000)]
Show % UL padding as a progress bar.

svn path=/trunk/; revision=40382

12 years agoWrap lines for those of us who use editors that don't (by default) line wrap.
Jeff Morriss [Thu, 5 Jan 2012 01:37:32 +0000 (01:37 -0000)]
Wrap lines for those of us who use editors that don't (by default) line wrap.

svn path=/trunk/; revision=40381

12 years agoFix several warnings turned error of type:
Jörg Mayer [Wed, 4 Jan 2012 23:15:50 +0000 (23:15 -0000)]
Fix several warnings turned error of type:
 variable ‘mtu_flag’ set but not used [-Werror=unused-but-set-variable]

svn path=/trunk/; revision=40380

12 years agoFix compilation on Windows.
Gerald Combs [Wed, 4 Jan 2012 22:59:17 +0000 (22:59 -0000)]
Fix compilation on Windows.

svn path=/trunk/; revision=40379

12 years agoAdd initial support for Qt along with a "ui" subdirectory.
Gerald Combs [Wed, 4 Jan 2012 22:13:01 +0000 (22:13 -0000)]
Add initial support for Qt along with a "ui" subdirectory.

svn path=/trunk/; revision=40378

12 years agoMore C++ updates.
Gerald Combs [Wed, 4 Jan 2012 21:26:51 +0000 (21:26 -0000)]
More C++ updates.

svn path=/trunk/; revision=40377

12 years agoUse hfi->abbrev insted.
Anders Broman [Wed, 4 Jan 2012 19:06:34 +0000 (19:06 -0000)]
Use hfi->abbrev insted.

svn path=/trunk/; revision=40376

12 years agoFix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
Alexis La Goutte [Wed, 4 Jan 2012 17:44:50 +0000 (17:44 -0000)]
Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang

svn path=/trunk/; revision=40375

12 years agoFix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
Alexis La Goutte [Wed, 4 Jan 2012 17:42:10 +0000 (17:42 -0000)]
Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang

svn path=/trunk/; revision=40374

12 years agoFix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
Alexis La Goutte [Wed, 4 Jan 2012 17:35:41 +0000 (17:35 -0000)]
Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang

svn path=/trunk/; revision=40373

12 years agoFix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
Alexis La Goutte [Wed, 4 Jan 2012 17:34:36 +0000 (17:34 -0000)]
Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang

svn path=/trunk/; revision=40372

12 years agoFrom Michael Mann via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6697
Alexis La Goutte [Wed, 4 Jan 2012 13:29:48 +0000 (13:29 -0000)]
From Michael Mann via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6697
Modbus object support for CIP dissector

Support for the Modbus object within the CIP dissector.  Essentially wraps the Modbus protocol within a CIP object.

Also included update to Modbus error code per
http://www.wireshark.org/lists/wireshark-dev/201111/msg00187.html

svn path=/trunk/; revision=40371

12 years agoFrom Andrei Maruseac via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6705
Alexis La Goutte [Wed, 4 Jan 2012 13:01:53 +0000 (13:01 -0000)]
From Andrei Maruseac via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6705
Multipath TCP Option

Extensions for Multipath Operation with Multiple Addresses, as defined in http://tools.ietf.org/html/draft-ietf-mptcp-multiaddressed-04. I implemented this as a TCP option.

From me :
Remove a subtree
Add Subtype in top of multiPath subtree

svn path=/trunk/; revision=40370

12 years agoTMR should be OCTET STRING
Anders Broman [Wed, 4 Jan 2012 07:26:00 +0000 (07:26 -0000)]
TMR should be OCTET STRING

svn path=/trunk/; revision=40369

12 years agoUpdate to V10.3.0 (2011-09)
Anders Broman [Wed, 4 Jan 2012 07:20:15 +0000 (07:20 -0000)]
Update to V10.3.0 (2011-09)

svn path=/trunk/; revision=40368

12 years agoExpand, and fix, a comment. Change a function argument name to match
Guy Harris [Wed, 4 Jan 2012 03:31:21 +0000 (03:31 -0000)]
Expand, and fix, a comment.  Change a function argument name to match
the name in the definition of the function it calls.

svn path=/trunk/; revision=40367

12 years agoMove stuff that should *only* be known by the lowest-level code that
Guy Harris [Wed, 4 Jan 2012 03:02:13 +0000 (03:02 -0000)]
Move stuff that should *only* be known by the lowest-level code that
deals with the sync pipe - i.e., only by sync_pipe.c and dumpcap.c -
into sync_pipe.h.

svn path=/trunk/; revision=40366

12 years agoMake sure each value in a GHashTable is unique. This avoids a
Gerald Combs [Wed, 4 Jan 2012 00:37:14 +0000 (00:37 -0000)]
Make sure each value in a GHashTable is unique. This avoids a
double-free bug triggered by using the "any" address wildcard.

Use g_malloc0 instead of zeroing elements by hand. Check for SSL_FAST
the same way everywhere.

svn path=/trunk/; revision=40365

12 years agoFrom Pascal Quantin:
Anders Broman [Tue, 3 Jan 2012 22:12:16 +0000 (22:12 -0000)]
From Pascal Quantin:
Display Home eNodeB name.

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

svn path=/trunk/; revision=40363

12 years agoUse a hash table to gather information from IR packets and store it in per-packet...
Anders Broman [Tue, 3 Jan 2012 22:08:13 +0000 (22:08 -0000)]
Use a hash table to gather information from IR packets and store it in per-packet-data.

svn path=/trunk/; revision=40362

12 years agoEnhance error information.
Anders Broman [Tue, 3 Jan 2012 22:06:42 +0000 (22:06 -0000)]
Enhance error information.

svn path=/trunk/; revision=40361

12 years agoMove capture_sync.h as well.
Guy Harris [Tue, 3 Jan 2012 05:37:56 +0000 (05:37 -0000)]
Move capture_sync.h as well.

svn path=/trunk/; revision=40359

12 years agocapture_sync.c is another file common to all programs that capture
Guy Harris [Tue, 3 Jan 2012 05:33:02 +0000 (05:33 -0000)]
capture_sync.c is another file common to all programs that capture
traffic by running dumpcap (not surprising, as it's the file with all
the "run dumpcap" routines).

svn path=/trunk/; revision=40358

12 years agoFrom Mike Morrin:
Anders Broman [Sun, 1 Jan 2012 19:57:47 +0000 (19:57 -0000)]
From Mike Morrin:
 GSM ENHANCED MEASUREMENT REPORT PDUs were not
dissected when present as L3_INFO in RSL MEAS_RES PDUs.

It seems that the RSL L3_INFO needs to be handled by a different dissector
depending on whether it contains a DTAP, SACCH or CCCH PDU, which fortunately
can be deduced from the RSL PDU type.  packet-rsl.c is updated to implement
this.

In packet-gsm_a_rr.c the dissection of PDUs with RR Short PD format is
improved, and also some items are renamed to make clearer the difference
between SACCH PDUs (which cna be normal or Short PD format) and RR Short PD
format PDUs (which can occur on SACCH, CCCH, or DCH).

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

svn path=/trunk/; revision=40357

12 years ago[Automatic manuf, services and enterprise-numbers update for 2012-01-01]
Gerald Combs [Sun, 1 Jan 2012 15:03:27 +0000 (15:03 -0000)]
[Automatic manuf, services and enterprise-numbers update for 2012-01-01]

svn path=/trunk/; revision=40354

12 years agoHappy New Year!
Stig Bjørlykke [Sun, 1 Jan 2012 10:02:11 +0000 (10:02 -0000)]
Happy New Year!

svn path=/trunk/; revision=40353

12 years ago- Update the graphical packages
Jörg Mayer [Sat, 31 Dec 2011 16:20:47 +0000 (16:20 -0000)]
- Update the graphical packages
- Newer versions of glib etc require xz. At least Snow Leopard
  does not provide xz, so (unconditionally) download and install this first.
- Put in infrastructure to set up a GTK3 environment instead of GTK2
  (not active by default because configure'ing Wireshark still fails for some
  reason with GTK3 installed).

svn path=/trunk/; revision=40352

12 years agoPut back paragraph break.
Guy Harris [Sat, 31 Dec 2011 03:20:19 +0000 (03:20 -0000)]
Put back paragraph break.

svn path=/trunk/; revision=40351

12 years agoLeave more word-wrapping to the toolkit.
Guy Harris [Sat, 31 Dec 2011 03:14:30 +0000 (03:14 -0000)]
Leave more word-wrapping to the toolkit.

svn path=/trunk/; revision=40350

12 years agoAdd more entries and sort them.
Gerald Combs [Sat, 31 Dec 2011 01:23:06 +0000 (01:23 -0000)]
Add more entries and sort them.

svn path=/trunk/; revision=40349

12 years agoAdd Gaurav Tungatkar.
Chris Maynard [Fri, 30 Dec 2011 19:19:19 +0000 (19:19 -0000)]
Add Gaurav Tungatkar.

svn path=/trunk/; revision=40348

12 years agoFix formatting issues.
Stig Bjørlykke [Fri, 30 Dec 2011 15:49:02 +0000 (15:49 -0000)]
Fix formatting issues.

svn path=/trunk/; revision=40347

12 years agoFix 'encoding-arg' for ptvcursor_add_with_subtree(): TRUE=>ENC_LITTLE_ENDIAN, etc
Bill Meier [Fri, 30 Dec 2011 15:30:32 +0000 (15:30 -0000)]
Fix 'encoding-arg' for ptvcursor_add_with_subtree(): TRUE=>ENC_LITTLE_ENDIAN, etc

svn path=/trunk/; revision=40346

12 years agoRegenerated packet-h245.c (should have been included in SVN #40311: add_new_data_sour...
Bill Meier [Fri, 30 Dec 2011 15:28:04 +0000 (15:28 -0000)]
Regenerated packet-h245.c (should have been included in SVN #40311: add_new_data_source() needed in several places).

svn path=/trunk/; revision=40345