metze/wireshark/wip.git
13 years agoUse the 'proto_tree *' (not the 'proto_item *') for a proto_tree_add_item(): Coverity...
Bill Meier [Mon, 23 May 2011 17:51:33 +0000 (17:51 -0000)]
Use the 'proto_tree *' (not the 'proto_item *') for a proto_tree_add_item(): Coverity 963 {UNUSED]

svn path=/trunk/; revision=37369

13 years agoPass tap info into sequence analysis function.
Martin Mathieson [Mon, 23 May 2011 17:15:00 +0000 (17:15 -0000)]
Pass tap info into sequence analysis function.

svn path=/trunk/; revision=37368

13 years agoDetect when padding non-final padding comes after other control subheaders.
Martin Mathieson [Mon, 23 May 2011 16:11:32 +0000 (16:11 -0000)]
Detect when padding non-final padding comes after other control subheaders.

svn path=/trunk/; revision=37367

13 years ago(Trivial) Testing _MSC_FULL_VER can be done at compile time.
Bill Meier [Mon, 23 May 2011 16:09:09 +0000 (16:09 -0000)]
(Trivial) Testing _MSC_FULL_VER can be done at compile time.

svn path=/trunk/; revision=37366

13 years agoFix compilation.
Michael Tüxen [Mon, 23 May 2011 14:41:04 +0000 (14:41 -0000)]
Fix compilation.

svn path=/trunk/; revision=37365

13 years agoRemove an unneeded redundant line of code: Fixes Coverity 1001.
Bill Meier [Mon, 23 May 2011 14:34:59 +0000 (14:34 -0000)]
Remove an unneeded redundant line of code: Fixes Coverity 1001.
Also:
 Use a separate ett variable for a subtree;
 Convert what appears to be '4 space tabs' to '4 spaces'.

svn path=/trunk/; revision=37364

13 years agoUse correct subtree in two cases: Fixes Coverity 920;
Bill Meier [Mon, 23 May 2011 14:30:00 +0000 (14:30 -0000)]
Use correct subtree in two cases: Fixes Coverity 920;
Also:
  Remove a number of unneeded #include statements;
  Do some whitespace cleanup.

svn path=/trunk/; revision=37363

13 years agoFix compilation.
Michael Tüxen [Mon, 23 May 2011 14:28:02 +0000 (14:28 -0000)]
Fix compilation.

svn path=/trunk/; revision=37362

13 years agoUse correct subtree in a few cases: Fixes Coverity 921,894,878 & 1136;
Bill Meier [Mon, 23 May 2011 14:26:43 +0000 (14:26 -0000)]
Use correct subtree in a few cases: Fixes Coverity 921,894,878 & 1136;

svn path=/trunk/; revision=37361

13 years agoUse correct subtree in several 'proto_tree_add_text(...)' statements: Fixes Coverity...
Bill Meier [Mon, 23 May 2011 14:17:30 +0000 (14:17 -0000)]
Use correct subtree in several 'proto_tree_add_text(...)' statements: Fixes Coverity 938 [UNUSED].

svn path=/trunk/; revision=37360

13 years agoUse correct subtree in 'call dissector(...)': Fixes Coverity 962 [UNUSED].
Bill Meier [Mon, 23 May 2011 14:14:43 +0000 (14:14 -0000)]
Use correct subtree in 'call dissector(...)': Fixes Coverity 962 [UNUSED].

svn path=/trunk/; revision=37359

13 years agoAdd a missing line of code: Fixes Coverity 967 [UNUSED].
Bill Meier [Mon, 23 May 2011 14:13:03 +0000 (14:13 -0000)]
Add a missing line of code: Fixes Coverity 967 [UNUSED].

svn path=/trunk/; revision=37358

13 years agoUse correct subtree for proto_tree_add_item in several places: Coverity 1130 [UNUSED];
Bill Meier [Mon, 23 May 2011 14:11:14 +0000 (14:11 -0000)]
Use correct subtree for proto_tree_add_item in several places: Coverity 1130 [UNUSED];
Also: Reformat a few lines and do some whitespace cleanup.

svn path=/trunk/; revision=37357

13 years agoAdd missing braces.
Martin Mathieson [Mon, 23 May 2011 10:09:08 +0000 (10:09 -0000)]
Add missing braces.

svn path=/trunk/; revision=37356

13 years ago7.3.2.25 or 802.11-2007 gives an example of length 20, so it is unclear where the...
Jörg Mayer [Mon, 23 May 2011 08:54:47 +0000 (08:54 -0000)]
7.3.2.25 or 802.11-2007 gives an example of length 20, so it is unclear where the 24 came from (unintentionally fixes bug 5942)

svn path=/trunk/; revision=37355

13 years agoClean duplicated contributors.
Jakub Zawadzki [Mon, 23 May 2011 08:03:50 +0000 (08:03 -0000)]
Clean duplicated contributors.

svn path=/trunk/; revision=37354

13 years agoDelete unused header field entries found by running checkhf.pl.
Chris Maynard [Mon, 23 May 2011 00:32:40 +0000 (00:32 -0000)]
Delete unused header field entries found by running checkhf.pl.

svn path=/trunk/; revision=37353

13 years agoAdded Michael Mann for his contributions to bug 2794.
Chris Maynard [Mon, 23 May 2011 00:05:07 +0000 (00:05 -0000)]
Added Michael Mann for his contributions to bug 2794.

svn path=/trunk/; revision=37352

13 years agoFrom Micheal Mann via bug 2794: Fix some display filter field names.
Chris Maynard [Mon, 23 May 2011 00:00:53 +0000 (00:00 -0000)]
From Micheal Mann via bug 2794: Fix some display filter field names.

svn path=/trunk/; revision=37351

13 years agoFrom Yaniv Kaul: Some 'set but not used' compilation fixes;
Bill Meier [Sun, 22 May 2011 22:04:24 +0000 (22:04 -0000)]
From Yaniv Kaul: Some 'set but not used' compilation fixes;
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5858

From me: 2 corrections to the patch and sevral other minor changes.

svn path=/trunk/; revision=37350

13 years ago[Automatic manuf, services and enterprise-numbers update for 2011-05-22]
Gerald Combs [Sun, 22 May 2011 15:04:14 +0000 (15:04 -0000)]
[Automatic manuf, services and enterprise-numbers update for 2011-05-22]

svn path=/trunk/; revision=37346

13 years agoFix the case where you start with interfaces on the command line
Michael Tüxen [Sun, 22 May 2011 11:11:00 +0000 (11:11 -0000)]
Fix the case where you start with interfaces on the command line
(so using ifaces) and then using the GUI (which only deals with
iface).

These kind of problems will completely disappear when the
old strucuture components like iface have completely be
retired. This is the next thing we will work on.

svn path=/trunk/; revision=37345

13 years agoUse appropriate temporary filename when capturing from multiple interfaces.
Michael Tüxen [Sat, 21 May 2011 20:57:00 +0000 (20:57 -0000)]
Use appropriate temporary filename when capturing from multiple interfaces.

svn path=/trunk/; revision=37344

13 years agoAs suggested on the dev list: Use pcapng and threads
Michael Tüxen [Sat, 21 May 2011 18:51:25 +0000 (18:51 -0000)]
As suggested on the dev list: Use pcapng and threads
when capturing on multiple interfaces even if not specified
on the command line.

svn path=/trunk/; revision=37343

13 years agoFix the capturing from the GUI. Honor the iface variable.
Michael Tüxen [Sat, 21 May 2011 13:22:38 +0000 (13:22 -0000)]
Fix the capturing from the GUI. Honor the iface variable.

The next step is to retire the iface variable and use
the ifaces array only. This should simplify things and
fix the cases, where you start wireshark with command
line arguments and also use the GUI.

svn path=/trunk/; revision=37342

13 years agoPass a pcap_options * instead of a pcap_options **.
Gerald Combs [Sat, 21 May 2011 00:10:57 +0000 (00:10 -0000)]
Pass a pcap_options * instead of a pcap_options **.

svn path=/trunk/; revision=37341

13 years agoDon't assign to a variable which is then not referenced: Coverity 998 [UNUSED].
Bill Meier [Fri, 20 May 2011 20:41:23 +0000 (20:41 -0000)]
Don't assign to a variable which is then not referenced: Coverity 998 [UNUSED].

svn path=/trunk/; revision=37340

13 years agoDon't assign to an unused variable: Fixes Coverity 874 [UNUSED].
Bill Meier [Fri, 20 May 2011 20:29:19 +0000 (20:29 -0000)]
Don't assign to an unused variable: Fixes Coverity 874 [UNUSED].

svn path=/trunk/; revision=37339

13 years agoFix a typo ...
Bill Meier [Fri, 20 May 2011 20:22:59 +0000 (20:22 -0000)]
Fix a typo ...

svn path=/trunk/; revision=37338

13 years agoRemove unneeded code: Fixes Coverity 890 [UNUSED].
Bill Meier [Fri, 20 May 2011 20:21:14 +0000 (20:21 -0000)]
Remove unneeded code: Fixes Coverity 890 [UNUSED].

svn path=/trunk/; revision=37337

13 years agoUse (what appears to be) the correct tvb for a function call: Fixes Coverity 919...
Bill Meier [Fri, 20 May 2011 20:10:41 +0000 (20:10 -0000)]
Use (what appears to be) the correct tvb for a function call: Fixes Coverity 919 [UNUSED];
#include <stdlib.h> not req'd.

svn path=/trunk/; revision=37336

13 years agoRemove unused code: Fixes Coverity 972 [UNUSED].
Bill Meier [Fri, 20 May 2011 20:00:16 +0000 (20:00 -0000)]
Remove unused code: Fixes Coverity 972 [UNUSED].

svn path=/trunk/; revision=37335

13 years agoAdd #include <stdlib.h> to files which reference fcns declared in stdlib.h;
Bill Meier [Fri, 20 May 2011 19:00:09 +0000 (19:00 -0000)]
Add #include <stdlib.h> to files which reference fcns declared in stdlib.h;
 (In many cases I previously incorrectly removed the #include <stdlib.h>).

svn path=/trunk/; revision=37334

13 years agoAdd bugs 4985 and 5580 to the list of known problems.
Gerald Combs [Fri, 20 May 2011 17:02:20 +0000 (17:02 -0000)]
Add bugs 4985 and 5580 to the list of known problems.

svn path=/trunk/; revision=37333

13 years agoDon't assign to a proto_item* if the value won't be used:
Bill Meier [Fri, 20 May 2011 15:44:25 +0000 (15:44 -0000)]
Don't assign to a proto_item* if the value won't be used:
 Fixes Coverity 903,935,968,985,997,999,1024,1025,1134;
Remove unneeded #includes;
Do whitespace cleanup.

svn path=/trunk/; revision=37331

13 years agoAdd to comment about using a heuristic; Fix a typo.
Bill Meier [Fri, 20 May 2011 15:34:29 +0000 (15:34 -0000)]
Add to comment about using a heuristic; Fix a typo.

svn path=/trunk/; revision=37330

13 years agoUse correct parent tree when creating a subtree: Fixes Coverity 902 [UNUSED];
Bill Meier [Fri, 20 May 2011 15:22:58 +0000 (15:22 -0000)]
Use correct parent tree when creating a subtree: Fixes Coverity 902 [UNUSED];
Remove unneeded #includes;
Do some whitespace cleanup.

svn path=/trunk/; revision=37329

13 years ago'#if 0' code related to already commented out code: Fixes Coverity 881.
Bill Meier [Fri, 20 May 2011 15:19:26 +0000 (15:19 -0000)]
'#if 0' code related to already commented out code: Fixes Coverity 881.

svn path=/trunk/; revision=37328

13 years agoDon't assign to a proto_item* if the value won't be used: Coverity 975 [UNUSED]
Bill Meier [Fri, 20 May 2011 14:21:02 +0000 (14:21 -0000)]
Don't assign to a proto_item* if the value won't be used: Coverity 975 [UNUSED]
Remove unneeded prefs callback in prefs registration;
Remove 'if (!initialized)' test from proto_reg_handoff...();
Remove unneeded #include;
Do some whitespace cleanup.

svn path=/trunk/; revision=37327

13 years agoPrettify som 3GPP AVP:s
Anders Broman [Fri, 20 May 2011 13:55:21 +0000 (13:55 -0000)]
Prettify som 3GPP AVP:s

svn path=/trunk/; revision=37326

13 years agogtk_menu_item_set_label() is from gtk 2.16.
Stig Bjørlykke [Fri, 20 May 2011 11:58:00 +0000 (11:58 -0000)]
gtk_menu_item_set_label() is from gtk 2.16.

svn path=/trunk/; revision=37325

13 years agoInclude the profile name in the Delete item in the profiles popup.
Stig Bjørlykke [Fri, 20 May 2011 11:30:51 +0000 (11:30 -0000)]
Include the profile name in the Delete item in the profiles popup.
Fixed creating a new profile from the popup without setting a create from.
Removed some unneeded ep_strdup_printf.

svn path=/trunk/; revision=37324

13 years agoCopy data from the TVB into ep_alloc'd memory, rather than saving a pointer into...
Jeff Morriss [Fri, 20 May 2011 03:22:27 +0000 (03:22 -0000)]
Copy data from the TVB into ep_alloc'd memory, rather than saving a pointer into the TVB.

svn path=/trunk/; revision=37323

13 years agoUse tvb_get_ephemeral_string() instead of tvb_get_ptr().
Jeff Morriss [Fri, 20 May 2011 03:20:20 +0000 (03:20 -0000)]
Use tvb_get_ephemeral_string() instead of tvb_get_ptr().

svn path=/trunk/; revision=37322

13 years agoUse tvb_bytes_to_str() instead of a homegrown version.
Jeff Morriss [Fri, 20 May 2011 03:17:01 +0000 (03:17 -0000)]
Use tvb_bytes_to_str() instead of a homegrown version.

svn path=/trunk/; revision=37321

13 years agoUse TVB accessor functions instead of tvb_get_ptr()
Jeff Morriss [Fri, 20 May 2011 03:15:18 +0000 (03:15 -0000)]
Use TVB accessor functions instead of tvb_get_ptr()

svn path=/trunk/; revision=37320

13 years agoUse tvb_ether_to_str()
Jeff Morriss [Fri, 20 May 2011 03:12:56 +0000 (03:12 -0000)]
Use tvb_ether_to_str()

svn path=/trunk/; revision=37319

13 years agoFix annoying typo.
Guy Harris [Fri, 20 May 2011 02:44:12 +0000 (02:44 -0000)]
Fix annoying typo.

svn path=/trunk/; revision=37318

13 years agoUse proto_tree_add_item() instead of proto_tree_add_xxx() with a pointer into
Jeff Morriss [Fri, 20 May 2011 02:42:14 +0000 (02:42 -0000)]
Use proto_tree_add_item() instead of proto_tree_add_xxx() with a pointer into
the TVB.

Introduce and start using tvb_get_manuf_name() and tvb_get_manuf_name_if_known()
which do the same as the non-tvb versions but take a tvb and an offset instead
of (commonly) a pointer into a TVB.

svn path=/trunk/; revision=37317

13 years agoIn at least some versions of OS X SystemStarter gets cranky if the
Guy Harris [Fri, 20 May 2011 02:35:05 +0000 (02:35 -0000)]
In at least some versions of OS X SystemStarter gets cranky if the
startup item is group-writable.

svn path=/trunk/; revision=37316

13 years agoAdd pdml2html.xsl to the source tarball.
Guy Harris [Thu, 19 May 2011 21:11:44 +0000 (21:11 -0000)]
Add pdml2html.xsl to the source tarball.

(Can we have a macro that has everything in pkgdata_DATA except for
COPYING, and use that macro in both the definition of pkgdata_DATA and
EXTRA_DIST?)

svn path=/trunk/; revision=37314

13 years agoUpdate the User's Guide.
Gerald Combs [Thu, 19 May 2011 21:09:29 +0000 (21:09 -0000)]
Update the User's Guide.

svn path=/trunk/; revision=37312

13 years agoDrop privileges after opening all pcap devices, not after the first one...
Michael Tüxen [Thu, 19 May 2011 20:48:58 +0000 (20:48 -0000)]
Drop privileges after opening all pcap devices, not after the first one...

svn path=/trunk/; revision=37311

13 years ago1.6 → 1.7.
Gerald Combs [Thu, 19 May 2011 20:37:36 +0000 (20:37 -0000)]
1.6 → 1.7.

svn path=/trunk/; revision=37309

13 years agoDon't assign to an unused 'proto item *': Coverity 1033 & 906
Bill Meier [Thu, 19 May 2011 20:21:08 +0000 (20:21 -0000)]
Don't assign to an unused 'proto item *': Coverity 1033 & 906

svn path=/trunk/; revision=37308

13 years agoIn case we have no interface information in the array, use the global value.
Michael Tüxen [Thu, 19 May 2011 20:20:35 +0000 (20:20 -0000)]
In case we have no interface information in the array, use the global value.
This fixes https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5935.

svn path=/trunk/; revision=37307

13 years agoCreate subtree under the correct parent tree: Coverity 1138.
Bill Meier [Thu, 19 May 2011 20:16:10 +0000 (20:16 -0000)]
Create subtree under the correct parent tree: Coverity 1138.

svn path=/trunk/; revision=37306

13 years agoDon't assign a value which is never used to a 'proto item *': Covertiy 1135;
Bill Meier [Thu, 19 May 2011 20:13:54 +0000 (20:13 -0000)]
Don't assign a value which is never used to a 'proto item *': Covertiy 1135;
Remove some unneeded #includes.

svn path=/trunk/; revision=37305

13 years agoFix markup.
Gerald Combs [Thu, 19 May 2011 20:13:33 +0000 (20:13 -0000)]
Fix markup.

svn path=/trunk/; revision=37304

13 years agoUpdate the version and command output.
Gerald Combs [Thu, 19 May 2011 19:52:56 +0000 (19:52 -0000)]
Update the version and command output.

svn path=/trunk/; revision=37303

13 years ago#if 0 some not currently used code: Fixes Coverity 966 [UNUSED]
Bill Meier [Thu, 19 May 2011 19:48:39 +0000 (19:48 -0000)]
#if 0 some not currently used code: Fixes Coverity 966 [UNUSED]
Convert apparent "4 space tabs" to "4 spaces".

svn path=/trunk/; revision=37302

13 years agoRemove unneeded variable and code; Rename a function arg; Fix usage of _U_: Fixes...
Bill Meier [Thu, 19 May 2011 19:22:49 +0000 (19:22 -0000)]
Remove unneeded variable and code; Rename a function arg; Fix usage of _U_: Fixes Coverity 1146 [UNUSED]

svn path=/trunk/; revision=37301

13 years agoFOP 0.95 → 1.0.
Gerald Combs [Thu, 19 May 2011 19:03:22 +0000 (19:03 -0000)]
FOP 0.95 → 1.0.

svn path=/trunk/; revision=37300

13 years agoFrom Dirk Jagdmann via bug 5875:
Gerald Combs [Thu, 19 May 2011 18:10:21 +0000 (18:10 -0000)]
From Dirk Jagdmann via bug 5875:

My attachment adds a link to a XSLT file to the preamble of the PDML.
The XSLT will transform the PDML to a HTML page, and the HTML page
features a look similar to Wireshark. See
http://cubic.org/~doj/ebay/a.pdml for an example.

The patch also contains a small perl program which converts the
Wireshark colortable into javascript code which is used in the XSLT
file. If you want to use a different color scheme you would execute the
perl program and insert the generated javascript function into your XSLT
file.

To view the HTML you could either place the PDML and XSLT file on your
webserver and verify that your webserver sends the PDML file as
"text/xml".  Then your webbrowser will find the linked XSLT file,
download that as well and convert the PDML to HTML on the fly.

You could also use an XSLT processor like xsltproc to convert the PDML
and XSLT into a static HTML file.

From me:

Minor fixups.

svn path=/trunk/; revision=37298

13 years agoGive some routines used for info levels that appear both in set and get
Guy Harris [Thu, 19 May 2011 16:22:21 +0000 (16:22 -0000)]
Give some routines used for info levels that appear both in set and get
names beginning with dissect_qspi_, and give some of them names with the
info level structure in them rather than the SNIA CIFS specification
section number.

Have separate routines for SMB_INFO_STANDARD and SMB_INFO_QUERY_EA_SIZE;
SMB_INFO_STANDARD is specified differently in the SNIA CIFS
specification and the MS-CIFS specification, and some captures have the
SNIA CIFS version, with the EA length and some have the MS-CIFS version
without it.  The dissector for SMB_INFO_STANDARD will dissect it if it's
there and not say "this structure is truncated" if it's not there.

Rename dissect_qfi_SMB_FILE_ALTERNATE_NAME_INFO() to
dissect_qfi_SMB_FILE_NAME_INFO(), as it also dissects
SMB_QUERY_FILE_NAME_INFO.

Merge the dissectors for SMB_FILE_ALLOCATION_INFO and
SMB_SET_FILE_ALLOCATION_INFO, and for SMB_FILE_END_OF_FILE_INFO and
SMB_SET_FILE_END_OF_FILE_INFO, as the structures are the same.

Dissect some presumed "passthrough info levels" the same way the
corresponding official SMB infos are dissected.

Expand some comments for info level dissectors to give the MS-CIFS
section number and to give some other details.

If an info level is truncated, put in an expert info error.

If we don't know about a given info level, just dissect the body as
"Information level unknown", rather than having it dissected as an
"unknown information" trailer.

svn path=/trunk/; revision=37297

13 years agoWhen capturing from multiple interface, indicate this in the main status bar.
Michael Tüxen [Thu, 19 May 2011 16:11:02 +0000 (16:11 -0000)]
When capturing from multiple interface, indicate this in the main status bar.

This patch is, as all other patches related to capturing from multiple interfaces,
based on work of Irene Ruengeler.

svn path=/trunk/; revision=37296

13 years agoFix compilation.
Michael Tüxen [Thu, 19 May 2011 15:38:44 +0000 (15:38 -0000)]
Fix compilation.

svn path=/trunk/; revision=37295

13 years agoFix a typo.
Anders Broman [Thu, 19 May 2011 15:23:19 +0000 (15:23 -0000)]
Fix a typo.

svn path=/trunk/; revision=37294

13 years agoDon't assign a value to a variable which is then not used: Coverity 1145
Bill Meier [Thu, 19 May 2011 14:48:05 +0000 (14:48 -0000)]
Don't assign a value to a variable which is then not used: Coverity 1145

svn path=/trunk/; revision=37293

13 years agoSubdissect 2 3GPP AVP:s that are actually text.
Anders Broman [Thu, 19 May 2011 14:41:58 +0000 (14:41 -0000)]
Subdissect 2 3GPP AVP:s that are actually text.

svn path=/trunk/; revision=37292

13 years agoDon't assign to an unused variable; remove variable definition: Coverity 1144.
Bill Meier [Thu, 19 May 2011 14:32:14 +0000 (14:32 -0000)]
Don't assign to an unused variable; remove variable definition: Coverity 1144.

svn path=/trunk/; revision=37291

13 years agoDon't assign a value to a variable which is then never used: Coverity 1160 [UNUSED]
Bill Meier [Thu, 19 May 2011 14:11:01 +0000 (14:11 -0000)]
Don't assign a value to a variable which is then never used: Coverity 1160 [UNUSED]

svn path=/trunk/; revision=37290

13 years agoWhen capturing from multiple interfaces, indicate this in the window
Michael Tüxen [Thu, 19 May 2011 12:19:03 +0000 (12:19 -0000)]
When capturing from multiple interfaces, indicate this in the window
title of the wireshark main window.

svn path=/trunk/; revision=37289

13 years agoRemove unused define.
Michael Tüxen [Thu, 19 May 2011 12:14:27 +0000 (12:14 -0000)]
Remove unused define.

svn path=/trunk/; revision=37288

13 years agoIt is not an error (anymore) to specify multiple capture filters.
Michael Tüxen [Thu, 19 May 2011 11:58:18 +0000 (11:58 -0000)]
It is not an error (anymore) to specify multiple capture filters.
This was
wireshark -i lo0 -f sctp -i en0 -f udp -k
will work.

svn path=/trunk/; revision=37287

13 years agoThe routines declared in packet-smb.h are defined in packet-smb.c;
Guy Harris [Thu, 19 May 2011 09:47:03 +0000 (09:47 -0000)]
The routines declared in packet-smb.h are defined in packet-smb.c;
include packet-smb.h in packet-smb.c so that we check the declarations
against the definitions.

In query ops, info level 2 is Query EA Size, not Query EAs From List.
In set ops, info level 2 is Set EAs, not Query EA Size.

Expand the constants for the Trans2 subcodes to 16 bits.

The tvb argument to dissect_find_file_unix_info2() is used.

svn path=/trunk/; revision=37286

13 years agoActually use the defaults from the last commit message.
Michael Tüxen [Thu, 19 May 2011 05:51:52 +0000 (05:51 -0000)]
Actually use the defaults from the last commit message.
... and switch off debug output.

svn path=/trunk/; revision=37285

13 years agoAdd a queue and byte limit to the capture queue. Current default
Michael Tüxen [Thu, 19 May 2011 05:49:46 +0000 (05:49 -0000)]
Add a queue and byte limit to the capture queue. Current default
values: 1000 packets, 1 MB. Should be made configurable via
command line options.

svn path=/trunk/; revision=37284

13 years agoFix warnings about unused variables in UI_MANAGER code.
Jörg Mayer [Thu, 19 May 2011 05:46:07 +0000 (05:46 -0000)]
Fix warnings about unused variables in UI_MANAGER code.
Move gsm_a_stat.c back to clean dissectors.

svn path=/trunk/; revision=37283

13 years agoFix two warning in case of UIMANAGER:
Jörg Mayer [Thu, 19 May 2011 05:44:32 +0000 (05:44 -0000)]
Fix two warning in case of UIMANAGER:
- Unused variable
- ‘graph_type’ may be used uninitialized

Is the second part of the patch (added inside the else clause)
correct?

svn path=/trunk/; revision=37282

13 years agoFix another old style function declaration warning
Jörg Mayer [Thu, 19 May 2011 05:08:42 +0000 (05:08 -0000)]
Fix another old style function declaration warning

svn path=/trunk/; revision=37281

13 years agoWhen capturing from multiple interfaces, indicate this in the
Michael Tüxen [Thu, 19 May 2011 05:00:28 +0000 (05:00 -0000)]
When capturing from multiple interfaces, indicate this in the
capture info dialog.
This is based on wirk from Irene Ruengeler.

svn path=/trunk/; revision=37280

13 years agoFix the capture info dialog. Reset the EOF state such that the
Michael Tüxen [Thu, 19 May 2011 04:56:04 +0000 (04:56 -0000)]
Fix the capture info dialog. Reset the EOF state such that the
number get actually updated.

svn path=/trunk/; revision=37279

13 years agoFix an old style function declaration warning.
Jörg Mayer [Thu, 19 May 2011 04:42:57 +0000 (04:42 -0000)]
Fix an old style function declaration warning.

svn path=/trunk/; revision=37278

13 years agoUpdate CMakeLists to follow commit 37219.
Jörg Mayer [Thu, 19 May 2011 04:35:04 +0000 (04:35 -0000)]
Update CMakeLists to follow commit 37219.
Remove a duplicate check in configure.in

svn path=/trunk/; revision=37277

13 years agoMove the debug output for the generated command line arguments to the correct place.
Michael Tüxen [Thu, 19 May 2011 04:30:05 +0000 (04:30 -0000)]
Move the debug output for the generated command line arguments to the correct place.

svn path=/trunk/; revision=37276

13 years agoFor old times' sake: Fix bad dissection of Ethernet Router Hello Messages: Coverity...
Bill Meier [Thu, 19 May 2011 01:42:49 +0000 (01:42 -0000)]
For old times' sake: Fix bad dissection of Ethernet Router Hello Messages: Coverity 876 & 877 [UNUSED]

svn path=/trunk/; revision=37275

13 years agoAdd a check that (plain) value_strings that are used in hf items don't have
Martin Mathieson [Thu, 19 May 2011 01:21:48 +0000 (01:21 -0000)]
Add a check that (plain) value_strings that are used in hf items don't have
any conflicting entries.  i.e. lots of value_strings have repeated items, but
for now only warn for cases where the same numeric value appears with a
different string.

Because this will slow down startup and output distracting warnings, it has been
#if 0'd out for now.  As discussed on the dev mailing list, it'd be good to
create a #define for developer/non-release builds so that tests such as this
can regularly be run.

svn path=/trunk/; revision=37274

13 years agoOnly declare a variable if its going to be used.
Martin Mathieson [Thu, 19 May 2011 01:09:05 +0000 (01:09 -0000)]
Only declare a variable if its going to be used.

svn path=/trunk/; revision=37273

13 years agoImprove AM sequence analysis, check ACK looks sensible compared with latest SN receiv...
Martin Mathieson [Thu, 19 May 2011 01:05:26 +0000 (01:05 -0000)]
Improve AM sequence analysis, check ACK looks sensible compared with latest SN received in opposite direction.

svn path=/trunk/; revision=37272

13 years agoSet subheader root length to 1, so if contentsinvalid will already be correctl length.
Martin Mathieson [Thu, 19 May 2011 01:03:56 +0000 (01:03 -0000)]
Set subheader root length to 1, so if contentsinvalid will already be correctl length.

svn path=/trunk/; revision=37271

13 years agoDon't create 2 unneeded subtrees; Fixes Coverity 879 & 880 [UNUSED];
Bill Meier [Wed, 18 May 2011 23:24:50 +0000 (23:24 -0000)]
Don't create 2 unneeded subtrees; Fixes Coverity 879 & 880 [UNUSED];
#include <stdio.h> & <time.h> not needed.

svn path=/trunk/; revision=37269

13 years agoDon't assign to an unused 'proto_item *': Fixes Coverity 883 [UNUSED];
Bill Meier [Wed, 18 May 2011 23:09:18 +0000 (23:09 -0000)]
Don't assign to an unused 'proto_item *': Fixes Coverity 883 [UNUSED];
Use correct 'tree' arg in a dissect(...) fcn call: Fixes Coverity 884 [UNUSED];
#include <stdlib.h> not req'd.

svn path=/trunk/; revision=37268

13 years agoCreate 2 subtrees using the correct 'proto_item *'; Fixes Coverity 900 & 901 [UNUSED];
Bill Meier [Wed, 18 May 2011 23:01:05 +0000 (23:01 -0000)]
Create 2 subtrees using the correct 'proto_item *'; Fixes Coverity 900 & 901 [UNUSED];
#inclide <stdlib.h> not req'd.

svn path=/trunk/; revision=37267

13 years ago#include <stdlib.h> not req'd;
Bill Meier [Wed, 18 May 2011 22:49:33 +0000 (22:49 -0000)]
#include <stdlib.h> not req'd;
Reformat hf[] definition;
Misc whitespace cleanup;

svn path=/trunk/; revision=37266

13 years agoAdd a missing creation of a subtree: Fixes Coverity 907 [UNUSED];
Bill Meier [Wed, 18 May 2011 22:01:29 +0000 (22:01 -0000)]
Add a missing creation of a subtree: Fixes Coverity 907 [UNUSED];
Don't create an unused subtree: Fixes Coverity 908 [UNUSED];

svn path=/trunk/; revision=37265

13 years agoFix tvb_get_bits_buf for LSB.
Jakub Zawadzki [Wed, 18 May 2011 21:33:05 +0000 (21:33 -0000)]
Fix tvb_get_bits_buf for LSB.

svn path=/trunk/; revision=37264

13 years ago(Trivial) Fix a typo; Add spme punctuation in a coment.
Bill Meier [Wed, 18 May 2011 21:20:22 +0000 (21:20 -0000)]
(Trivial) Fix a typo; Add spme punctuation in a coment.

svn path=/trunk/; revision=37263

13 years agoFix some (value) mistakes in value_strings. Found by Martin's patch on the -dev...
Jeff Morriss [Wed, 18 May 2011 21:07:59 +0000 (21:07 -0000)]
Fix some (value) mistakes in value_strings.  Found by Martin's patch on the -dev list.

svn path=/trunk/; revision=37262

13 years agoFix a couple (value) mistakes in a value_string, taking the values from the IDL
Jeff Morriss [Wed, 18 May 2011 20:56:03 +0000 (20:56 -0000)]
Fix a couple (value) mistakes in a value_string, taking the values from the IDL
file.  Found by Martin's patch on the -dev list.

Add a comment to answer the question of whether this file is autogenerated by
pointing to the IDL file.

svn path=/trunk/; revision=37261