metze/wireshark/wip.git
13 years agoInclude time.h as compilation might fail with old gilb (2.4)
Anders Broman [Thu, 21 Apr 2011 13:56:06 +0000 (13:56 -0000)]
Include time.h as compilation might fail with old gilb (2.4)
Thanks Jeff.

svn path=/trunk/; revision=36767

13 years agoFix Dead Store (Dead assignement/Dead increment) Warning found by Clang
Alexis La Goutte [Thu, 21 Apr 2011 13:45:37 +0000 (13:45 -0000)]
Fix Dead Store (Dead assignement/Dead increment) Warning found by Clang

svn path=/trunk/; revision=36766

13 years agoFix Dead Store (Dead assignement/Dead increment) Warning found by Clang
Alexis La Goutte [Thu, 21 Apr 2011 13:45:14 +0000 (13:45 -0000)]
Fix Dead Store (Dead assignement/Dead increment) Warning found by Clang

svn path=/trunk/; revision=36765

13 years agoFix Dead Store (Dead assignement/Dead increment) Warning found by Clang
Alexis La Goutte [Thu, 21 Apr 2011 13:43:23 +0000 (13:43 -0000)]
Fix Dead Store (Dead assignement/Dead increment) Warning found by Clang

svn path=/trunk/; revision=36764

13 years agoRemove is_continuation_line variable (Unused for 3 years with add SMTP Command Pipeli...
Alexis La Goutte [Thu, 21 Apr 2011 13:42:15 +0000 (13:42 -0000)]
Remove is_continuation_line variable (Unused for 3 years with add SMTP Command Pipelining (RFC2920) Rev24989)

Fix Dead Store (Dead assignement/Dead increment) Warning found by Clang

svn path=/trunk/; revision=36763

13 years agoFix Dead Store (Dead nested assignment) Warning found by Clang
Alexis La Goutte [Thu, 21 Apr 2011 13:35:09 +0000 (13:35 -0000)]
Fix Dead Store (Dead nested assignment) Warning found by Clang

svn path=/trunk/; revision=36762

13 years agoFix Dead Store (Dead nested assignment) Warning found by Clang
Alexis La Goutte [Thu, 21 Apr 2011 13:34:43 +0000 (13:34 -0000)]
Fix Dead Store (Dead nested assignment) Warning found by Clang

svn path=/trunk/; revision=36761

13 years agoFix Dead Store (Dead nested assignment) Warning found by Clang
Alexis La Goutte [Thu, 21 Apr 2011 13:34:22 +0000 (13:34 -0000)]
Fix Dead Store (Dead nested assignment) Warning found by Clang

svn path=/trunk/; revision=36760

13 years agoFix Dead Store (Dead nested assignment) Warning found by Clang
Alexis La Goutte [Thu, 21 Apr 2011 13:33:59 +0000 (13:33 -0000)]
Fix Dead Store (Dead nested assignment) Warning found by Clang

svn path=/trunk/; revision=36759

13 years agoFix Dead Store (Dead nested assignment) Warning found by Clang
Alexis La Goutte [Thu, 21 Apr 2011 13:33:43 +0000 (13:33 -0000)]
Fix Dead Store (Dead nested assignment) Warning found by Clang

svn path=/trunk/; revision=36758

13 years agoFix Dead Store (Dead nested assignment) Warning found by Clang
Alexis La Goutte [Thu, 21 Apr 2011 13:33:23 +0000 (13:33 -0000)]
Fix Dead Store (Dead nested assignment) Warning found by Clang

svn path=/trunk/; revision=36757

13 years agoFix Dead Store (Dead nested assignment) Warning found by Clang
Alexis La Goutte [Thu, 21 Apr 2011 13:33:04 +0000 (13:33 -0000)]
Fix Dead Store (Dead nested assignment) Warning found by Clang

svn path=/trunk/; revision=36756

13 years agoFix Dead Store (Dead nested assignment) Warning found by Clang
Alexis La Goutte [Thu, 21 Apr 2011 13:32:34 +0000 (13:32 -0000)]
Fix Dead Store (Dead nested assignment) Warning found by Clang

svn path=/trunk/; revision=36755

13 years agoFix Dead Store (Dead nested assignment) Warning found by Clang
Alexis La Goutte [Thu, 21 Apr 2011 13:32:11 +0000 (13:32 -0000)]
Fix Dead Store (Dead nested assignment) Warning found by Clang

svn path=/trunk/; revision=36754

13 years agoFix Dead Store (Dead nested assignment) Warning found by Clang
Alexis La Goutte [Thu, 21 Apr 2011 13:31:42 +0000 (13:31 -0000)]
Fix Dead Store (Dead nested assignment) Warning found by Clang

svn path=/trunk/; revision=36753

13 years agoFix Dead Store (Dead nested assignment) Warning found by Clang
Alexis La Goutte [Thu, 21 Apr 2011 13:31:04 +0000 (13:31 -0000)]
Fix Dead Store (Dead nested assignment) Warning found by Clang

svn path=/trunk/; revision=36752

13 years agoInclude config.h only from .c files.
Stig Bjørlykke [Thu, 21 Apr 2011 13:13:39 +0000 (13:13 -0000)]
Include config.h only from .c files.

This avoids a warning building epan.c which includes both config.h and wslua.h
(duplicate defines from config.h)

svn path=/trunk/; revision=36751

13 years agoRevert the previous commit, I was confused :-)
Anders Broman [Thu, 21 Apr 2011 12:04:02 +0000 (12:04 -0000)]
Revert the previous commit, I was confused :-)

svn path=/trunk/; revision=36750

13 years agoAdd missing code to handle fields with an extended value_string (BASE_EXT_STRING)
Jakub Zawadzki [Thu, 21 Apr 2011 09:50:12 +0000 (09:50 -0000)]
Add missing code to handle fields with an extended value_string (BASE_EXT_STRING)

svn path=/trunk/; revision=36749

13 years agoAdd a new WTAP_ERR_DECOMPRESS error, and use that for errors discovered
Guy Harris [Thu, 21 Apr 2011 09:41:52 +0000 (09:41 -0000)]
Add a new WTAP_ERR_DECOMPRESS error, and use that for errors discovered
by the gunzipping code.  Have it also supply a err_info string, and
report it.  Have file_error() supply an err_info string.

Put "the file" - or, for WTAP_ERR_DECOMPRESS, "the compressed file", to
suggest a decompression error - into the rawshark and tshark errors,
along the lines of what other programs print.

Fix a case in the Netscaler code where we weren't fetching the error
code on a read failure.

svn path=/trunk/; revision=36748

13 years agoAdd a cast as there seems to be a problem on some sytems
Anders Broman [Thu, 21 Apr 2011 08:12:55 +0000 (08:12 -0000)]
Add a cast as there seems to be a problem on some sytems
conversations_table.c: In function `ct_create_popup_menu':

conversations_table.c:1938: warning: passing arg 2 of `gtk_action_group_add_actions' discards qualifiers from pointer target type

make: *** [libui_a-conversations_table.o] Error 1

svn path=/trunk/; revision=36747

13 years ago"Upgrade" gtk_combo to 'E'.
Anders Broman [Thu, 21 Apr 2011 06:05:55 +0000 (06:05 -0000)]
"Upgrade" gtk_combo to 'E'.

svn path=/trunk/; revision=36746

13 years agoFix ep_check_canary_integrity to use proper variable.
Jakub Zawadzki [Thu, 21 Apr 2011 05:31:11 +0000 (05:31 -0000)]
Fix ep_check_canary_integrity to use proper variable.

Previously it would sigsegv (accessing (void *) -1), instead of displaying error.

svn path=/trunk/; revision=36745

13 years agoAlways check whether NEXT() failed - and rename it to GZ_GETC(), as it
Guy Harris [Wed, 20 Apr 2011 21:36:23 +0000 (21:36 -0000)]
Always check whether NEXT() failed - and rename it to GZ_GETC(), as it
has semantics similar to getc().

If it fails due to an EOF, set state->err to WTAP_ERR_SHORT_READ to
report a premature EOF; otherwise, raw_read() has already set
state->err, so don't set state->err to something else - that loses the
errno value in favor of a generic "bad data" error.

svn path=/trunk/; revision=36744

13 years agoSimplify the test in a loop.
Martin Mathieson [Wed, 20 Apr 2011 21:25:38 +0000 (21:25 -0000)]
Simplify the test in a loop.

This was in response to a VS Code Analysis warning.  Not sure if it was confused by lack of parenthesis, or if it detected that we had an && where both sides would always have the same value, but it was confusing.

svn path=/trunk/; revision=36743

13 years agoAdd code to dissect "original uTP header format"
Bill Meier [Wed, 20 Apr 2011 20:32:26 +0000 (20:32 -0000)]
Add code to dissect "original uTP header format"
 as described in the LibuTP utp.cpp source code;
Add a kludgy heuristic to differentiate between
 original and "V1" header formats.
 TBD: validity of the heuristic; is there a better way ?

svn path=/trunk/; revision=36742

13 years agoReplace the capture interface deprecated gtk_combo_new() with gtk_combo_box_entry_new...
Anders Broman [Wed, 20 Apr 2011 20:17:20 +0000 (20:17 -0000)]
Replace the capture interface deprecated gtk_combo_new() with gtk_combo_box_entry_new_text.

svn path=/trunk/; revision=36741

13 years agoUse [hi|lo]_nibble macros, leave room in str[] for invalid BCD digits to be
Chris Maynard [Wed, 20 Apr 2011 20:12:40 +0000 (20:12 -0000)]
Use [hi|lo]_nibble macros, leave room in str[] for invalid BCD digits to be
displayed as blanks.  Since imsi_to_str() and ip_to_str() do the same thing,
just have imsi_to_str() call ip_to_str() rather than having two different
implementations of the same thing.  Use a BCD2CHAR macro instead of doing a
table lookup.

svn path=/trunk/; revision=36740

13 years agoSigh. The "data" element of a GArray is, alas, a "gchar *", not a "void
Guy Harris [Wed, 20 Apr 2011 18:04:43 +0000 (18:04 -0000)]
Sigh.  The "data" element of a GArray is, alas, a "gchar *", not a "void
*", and some compilers complain when you cast that pointer to something
requiring stricter alignment.  Maybe the intent is to nudge you into
thinking about whether the pointer really is properly aligned, but....

svn path=/trunk/; revision=36739

13 years agopntohll() takes a guint8 * as an argument; there's no need to cast to a
Guy Harris [Wed, 20 Apr 2011 17:53:11 +0000 (17:53 -0000)]
pntohll() takes a guint8 * as an argument; there's no need to cast to a
guint64 *, and it causes clang to complain.

svn path=/trunk/; revision=36738

13 years ago- New-style dissectors need to always return "bytes dissected" (not just when tree...
Bill Meier [Wed, 20 Apr 2011 17:25:07 +0000 (17:25 -0000)]
- New-style dissectors need to always return "bytes dissected" (not just when tree != NULL);
- The dissector probably shouldn't return a value for "bytes dissected" which is larger
   than the tvb length (altho there's actually no harm given the current implementation).
- Don't try to do an 'add_item' with an offset past the end of the tvb (altho again there's
   no actual harm in this case).

ToDo: Handle "original format" uTP headers.

svn path=/trunk/; revision=36737

13 years agoAdd Makefile.common to the dependency list for register.c.
Gerald Combs [Wed, 20 Apr 2011 17:08:40 +0000 (17:08 -0000)]
Add Makefile.common to the dependency list for register.c.

svn path=/trunk/; revision=36736

13 years agoFix a typo in a text string; use consistent indentation.
Bill Meier [Wed, 20 Apr 2011 16:35:42 +0000 (16:35 -0000)]
Fix a typo in a text string; use consistent indentation.

svn path=/trunk/; revision=36735

13 years agoProperly (re)initialise structs used for keeping track of UEs/TTI.
Martin Mathieson [Wed, 20 Apr 2011 10:23:41 +0000 (10:23 -0000)]
Properly (re)initialise structs used for keeping track of UEs/TTI.

svn path=/trunk/; revision=36734

13 years agoOh, dear, autoconf thinks clang is GCC, because it defines __GNUC__.
Guy Harris [Wed, 20 Apr 2011 09:31:47 +0000 (09:31 -0000)]
Oh, dear, autoconf thinks clang is GCC, because it defines __GNUC__.

svn path=/trunk/; revision=36733

13 years agoBy default, clang only warns about unknown -W options, it doesn't
Guy Harris [Wed, 20 Apr 2011 09:16:44 +0000 (09:16 -0000)]
By default, clang only warns about unknown -W options, it doesn't
generate an error for them.  Force them to be treated as errors, so we
correctly test whether an option is supported.

svn path=/trunk/; revision=36732

13 years agoInstead of having GCC and CLANG variables, just have
Guy Harris [Wed, 20 Apr 2011 08:37:45 +0000 (08:37 -0000)]
Instead of having GCC and CLANG variables, just have
ac_supports_gcc_flags and ac_supports_W_linker_passthrough flags, the
first of which, for now, we set for GCC and clang, and the latter of
which we set for GCC, clang, and xlc (probably true for some other
compilers as well).

Rename AC_WIRESHARK_GCC_LDFLAGS_CHECK to AC_WIRESHARK_LDFLAGS_CHECK, as
it's not checking for anything GCC-specific.  (Leave
AC_WIRESHARK_GCC_CFLAGS_CHECK unrenamed for now, as the flags we test
with it are originally GCC flags that clang also supports for GCC
compatibility.)

Fix some string-equality tests to use = rather than ==; the former is
what the test/[ command uses.

Don't turn on "-no-cpp-precomp" for clang - it whines if you do.

svn path=/trunk/; revision=36731

13 years agoOnly add /SafeSEH to LDFLAGS if WIRESHARK_TARGET_PLATFORM != win64. The
Chris Maynard [Wed, 20 Apr 2011 05:21:32 +0000 (05:21 -0000)]
Only add /SafeSEH to LDFLAGS if WIRESHARK_TARGET_PLATFORM != win64.  The
Windows-7-x64 buildbot doesn't like it and reports the following:
LINK : fatal error LNK1246: '/SAFESEH' not compatible with 'x64' target machine; link without '/SAFESEH'

svn path=/trunk/; revision=36730

13 years agoFirst cut at support for clang. We may want to have specific items for
Guy Harris [Wed, 20 Apr 2011 03:22:19 +0000 (03:22 -0000)]
First cut at support for clang.  We may want to have specific items for
"supports GCC-style -W flags", etc., and may want to improve the check
for "is this clang", as well as deciding what other stuff should be done
if we have clang as well.  clang should, I think, largely be
gcc-compatible at the command line.

svn path=/trunk/; revision=36729

13 years agoAdded Vladimir Kazansky for his contribution to bug 5849.
Chris Maynard [Wed, 20 Apr 2011 02:32:19 +0000 (02:32 -0000)]
Added Vladimir Kazansky for his contribution to bug 5849.

svn path=/trunk/; revision=36728

13 years agoFrom Vladimir Kazansky via bug 5849: Fix msisdn_to_str() so it converts all BCD
Chris Maynard [Wed, 20 Apr 2011 02:24:16 +0000 (02:24 -0000)]
From Vladimir Kazansky via bug 5849: Fix msisdn_to_str() so it converts all BCD
digits and not just 1.

svn path=/trunk/; revision=36727

13 years agoFrom Georg Mueller via bug #5851: Add not handled IDs to BitTorrent
Stephen Fisher [Tue, 19 Apr 2011 21:31:02 +0000 (21:31 -0000)]
From Georg Mueller via bug #5851: Add not handled IDs to BitTorrent
dissector

svn path=/trunk/; revision=36726

13 years agoCID 1161: Not really used variable
Jörg Mayer [Tue, 19 Apr 2011 21:20:15 +0000 (21:20 -0000)]
CID 1161: Not really used variable

svn path=/trunk/; revision=36725

13 years agoCID 1162: Not really used variable
Jörg Mayer [Tue, 19 Apr 2011 21:15:58 +0000 (21:15 -0000)]
CID 1162: Not really used variable

svn path=/trunk/; revision=36724

13 years agoFrom Cecco via bug #5605: bug on gtk wireshark telephony->mtp3->msus
Stephen Fisher [Tue, 19 Apr 2011 19:52:50 +0000 (19:52 -0000)]
From Cecco via bug #5605: bug on gtk wireshark telephony->mtp3->msus
[doesn't show contents of window]

svn path=/trunk/; revision=36723

13 years agoExplicitly add /GS to CFLAGS and /SafeSEH & /FIXED:no to LDFLAGS.
Gerald Combs [Tue, 19 Apr 2011 19:20:03 +0000 (19:20 -0000)]
Explicitly add /GS to CFLAGS and /SafeSEH & /FIXED:no to LDFLAGS.

svn path=/trunk/; revision=36722

13 years agoAdd Xiao Xiangquan to the AUTHORS file ....
Bill Meier [Tue, 19 Apr 2011 16:43:01 +0000 (16:43 -0000)]
Add Xiao Xiangquan to the AUTHORS file ....

svn path=/trunk/; revision=36721

13 years agoWhitespace cleanup; Remove an uneeded col_clear().
Bill Meier [Tue, 19 Apr 2011 16:37:39 +0000 (16:37 -0000)]
Whitespace cleanup; Remove an uneeded col_clear().

svn path=/trunk/; revision=36720

13 years agoThis file had an identical copy appended to the end of it. Remove
Stephen Fisher [Tue, 19 Apr 2011 16:24:29 +0000 (16:24 -0000)]
This file had an identical copy appended to the end of it.  Remove
duplicate.

svn path=/trunk/; revision=36719

13 years agoReplace the capture filter deprecated gtk_combo_new() with gtk_combo_box_entry_new_text,
Anders Broman [Tue, 19 Apr 2011 16:02:07 +0000 (16:02 -0000)]
Replace the capture filter deprecated gtk_combo_new() with gtk_combo_box_entry_new_text,

svn path=/trunk/; revision=36718

13 years agoSet svn:eol-style & svn:keywords properties
Bill Meier [Tue, 19 Apr 2011 16:00:20 +0000 (16:00 -0000)]
Set svn:eol-style & svn:keywords properties

svn path=/trunk/; revision=36717

13 years agoFrom Xiao Xiangquan via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5846
Alexis La Goutte [Tue, 19 Apr 2011 15:23:51 +0000 (15:23 -0000)]
From Xiao Xiangquan via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5846
A new dissector for uTorrent Transport Protocol

From me :
* Add link to spec BEP-0029
* Add note about type/version
* Rework extensions loop
* Use 2-space indenting

svn path=/trunk/; revision=36716

13 years agoFrom Xiao Xiangquan via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5846
Alexis La Goutte [Tue, 19 Apr 2011 15:23:06 +0000 (15:23 -0000)]
From Xiao Xiangquan via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5846
A new dissector for uTorrent Transport Protocol

From me :
* Add link to spec BEP-0029
* Add note about type/version
* Rework extensions loop
* Use 2-space indenting

svn path=/trunk/; revision=36715

13 years agoUnbreak live capture using pcapng.
Michael Tüxen [Tue, 19 Apr 2011 13:28:17 +0000 (13:28 -0000)]
Unbreak live capture using pcapng.

svn path=/trunk/; revision=36714

13 years agoFrom Michael Mann via bug 2794:
Stig Bjørlykke [Tue, 19 Apr 2011 08:22:58 +0000 (08:22 -0000)]
From Michael Mann via bug 2794:
Fixed display filters with obvious typos.

svn path=/trunk/; revision=36713

13 years agoWrap actual_len inside #ifdef DEBUG_K12 to avoid gcc 4.6.0 warning reported by
Chris Maynard [Mon, 18 Apr 2011 20:03:32 +0000 (20:03 -0000)]
Wrap actual_len inside #ifdef DEBUG_K12 to avoid gcc 4.6.0 warning reported by
Kaul: http://www.wireshark.org/lists/wireshark-dev/201104/msg00170.html

svn path=/trunk/; revision=36710

13 years agoWe don't have any preferences, so remove the prefs.h include. It doesn't
Gerald Combs [Mon, 18 Apr 2011 19:34:40 +0000 (19:34 -0000)]
We don't have any preferences, so remove the prefs.h include. It doesn't
look like we need a reg_handoff routine either so remove it as well.
Fixes Coverity CID 1189.

svn path=/trunk/; revision=36709

13 years agoFix Dead Store (Dead assignement/Dead increment) Warning found by Clang
Alexis La Goutte [Mon, 18 Apr 2011 18:36:44 +0000 (18:36 -0000)]
Fix Dead Store (Dead assignement/Dead increment) Warning found by Clang

svn path=/trunk/; revision=36708

13 years agoFix Dead Store (Dead assignement/Dead increment) Warning found by Clang
Alexis La Goutte [Mon, 18 Apr 2011 18:36:23 +0000 (18:36 -0000)]
Fix Dead Store (Dead assignement/Dead increment) Warning found by Clang

svn path=/trunk/; revision=36707

13 years agoFix Dead Store (Dead assignement/Dead increment) Warning found by Clang
Alexis La Goutte [Mon, 18 Apr 2011 18:06:22 +0000 (18:06 -0000)]
Fix Dead Store (Dead assignement/Dead increment) Warning found by Clang

svn path=/trunk/; revision=36705

13 years agoFix 100(!) Dead Store (Dead assignement/Dead increment) Warning found by Clang
Alexis La Goutte [Mon, 18 Apr 2011 17:55:35 +0000 (17:55 -0000)]
Fix 100(!) Dead Store (Dead assignement/Dead increment) Warning found by Clang

svn path=/trunk/; revision=36704

13 years agoFix Dead Store (Dead assignement/Dead increment) Warning found by Clang
Alexis La Goutte [Mon, 18 Apr 2011 17:48:23 +0000 (17:48 -0000)]
Fix Dead Store (Dead assignement/Dead increment) Warning found by Clang

svn path=/trunk/; revision=36703

13 years agoFix Dead Store (Dead assignement/Dead increment) Warning found by Clang
Alexis La Goutte [Mon, 18 Apr 2011 17:47:16 +0000 (17:47 -0000)]
Fix Dead Store (Dead assignement/Dead increment) Warning found by Clang

svn path=/trunk/; revision=36702

13 years agoFix Dead Store (Dead assignement/Dead increment) Warning found by Clang
Alexis La Goutte [Mon, 18 Apr 2011 17:44:17 +0000 (17:44 -0000)]
Fix Dead Store (Dead assignement/Dead increment) Warning found by Clang

svn path=/trunk/; revision=36701

13 years agoFix Dead Store (Dead assignement/Dead increment) Warning found by Clang
Alexis La Goutte [Mon, 18 Apr 2011 17:38:08 +0000 (17:38 -0000)]
Fix Dead Store (Dead assignement/Dead increment) Warning found by Clang

svn path=/trunk/; revision=36700

13 years agoFix Dead Store (Dead assignement/Dead increment) Warning found by Clang
Alexis La Goutte [Mon, 18 Apr 2011 17:35:25 +0000 (17:35 -0000)]
Fix Dead Store (Dead assignement/Dead increment) Warning found by Clang

svn path=/trunk/; revision=36699

13 years agoRemoved some unneeded assignments.
Stig Bjørlykke [Mon, 18 Apr 2011 15:29:25 +0000 (15:29 -0000)]
Removed some unneeded assignments.

Found by clang.

svn path=/trunk/; revision=36698

13 years agoMake it build.
Stig Bjørlykke [Mon, 18 Apr 2011 15:27:27 +0000 (15:27 -0000)]
Make it build.

svn path=/trunk/; revision=36697

13 years agoStart merging from packet-pdcp-lte.c
Anders Broman [Mon, 18 Apr 2011 14:38:18 +0000 (14:38 -0000)]
Start merging from packet-pdcp-lte.c

svn path=/trunk/; revision=36696

13 years agoUpdate Motonori Shindo's email address at the author's request. Fixes bug 5840.
Chris Maynard [Mon, 18 Apr 2011 02:16:36 +0000 (02:16 -0000)]
Update Motonori Shindo's email address at the author's request. Fixes bug 5840.

svn path=/trunk/; revision=36695

13 years agoRetire a preference that can be always on now.
Martin Mathieson [Sun, 17 Apr 2011 21:43:20 +0000 (21:43 -0000)]
Retire a preference that can be always on now.

svn path=/trunk/; revision=36693

13 years agoAllow signaling protocol (e.g. RRC) to set number of SN bits
Martin Mathieson [Sun, 17 Apr 2011 21:34:47 +0000 (21:34 -0000)]
Allow signaling protocol (e.g. RRC) to set number of SN bits
PDCP should use for DRB channels.

Not yet called by RRC.

svn path=/trunk/; revision=36692

13 years agoDecode the SI value in DATA messages correclty.
Michael Tüxen [Sun, 17 Apr 2011 19:37:46 +0000 (19:37 -0000)]
Decode the SI value in DATA messages correclty.
This fixes bug 5834.

svn path=/trunk/; revision=36691

13 years agoOne more unused argument.
Stig Bjørlykke [Sun, 17 Apr 2011 19:17:46 +0000 (19:17 -0000)]
One more unused argument.

svn path=/trunk/; revision=36690

13 years agoRemoved unneeded assignments.
Stig Bjørlykke [Sun, 17 Apr 2011 19:07:17 +0000 (19:07 -0000)]
Removed unneeded assignments.

Found by clang.

svn path=/trunk/; revision=36689

13 years agoMark unused arguments with _U_.
Stig Bjørlykke [Sun, 17 Apr 2011 19:04:54 +0000 (19:04 -0000)]
Mark unused arguments with _U_.

svn path=/trunk/; revision=36688

13 years agoRemoved unneeded assignments to self.
Stig Bjørlykke [Sun, 17 Apr 2011 19:01:26 +0000 (19:01 -0000)]
Removed unneeded assignments to self.

Found by clang.

svn path=/trunk/; revision=36687

13 years agoRemoved an unneeded assignment, they are both always 0.
Stig Bjørlykke [Sun, 17 Apr 2011 18:59:17 +0000 (18:59 -0000)]
Removed an unneeded assignment, they are both always 0.

Found by clang.

svn path=/trunk/; revision=36686

13 years agoCorrected equality check in frag_equal().
Stig Bjørlykke [Sun, 17 Apr 2011 18:49:58 +0000 (18:49 -0000)]
Corrected equality check in frag_equal().

Found by clang.

svn path=/trunk/; revision=36685

13 years agoCoverity UNUSED_VALUE
Anders Broman [Sun, 17 Apr 2011 18:10:08 +0000 (18:10 -0000)]
Coverity UNUSED_VALUE
CID 1141

svn path=/trunk/; revision=36684

13 years agoCoverity UNUSED_VALUE
Anders Broman [Sun, 17 Apr 2011 18:00:14 +0000 (18:00 -0000)]
Coverity UNUSED_VALUE
CID 1142,1143,1147

svn path=/trunk/; revision=36683

13 years agoMark err as unused in k12text_dump_open().
Stig Bjørlykke [Sun, 17 Apr 2011 17:49:02 +0000 (17:49 -0000)]
Mark err as unused in k12text_dump_open().

svn path=/trunk/; revision=36682

13 years agoCheck for valid docsis_handle, and use data_handle if not.
Stig Bjørlykke [Sun, 17 Apr 2011 17:47:39 +0000 (17:47 -0000)]
Check for valid docsis_handle, and use data_handle if not.

This fixes bug 5839.

svn path=/trunk/; revision=36681

13 years agoAdd QoS Capability element (46) and Extended Supported Rates element (50)
Alexis La Goutte [Sun, 17 Apr 2011 17:20:58 +0000 (17:20 -0000)]
Add QoS Capability element (46) and Extended Supported Rates element (50)

Enhance RSN Info (48), Extended Capabilities information element (127)

* Replace proto_tree_add_uint*/boolean/text by proto_tree_add_item
* use ENC_* macro for encoding

svn path=/trunk/; revision=36680

13 years ago[Automatic manuf, services and enterprise-numbers update for 2011-04-17]
Gerald Combs [Sun, 17 Apr 2011 15:03:50 +0000 (15:03 -0000)]
[Automatic manuf, services and enterprise-numbers update for 2011-04-17]

svn path=/trunk/; revision=36677

13 years agoAdd a way for configuration protocol (e.g. RRC) to configure MAC-> RLC mappings,...
Martin Mathieson [Sun, 17 Apr 2011 11:22:03 +0000 (11:22 -0000)]
Add a way for configuration protocol (e.g. RRC) to configure MAC-> RLC mappings, and add a preference to use this or the static UAT.

API is not yet called by RRC.

svn path=/trunk/; revision=36676

13 years agoFix Unused varaiable warnings.
Anders Broman [Sun, 17 Apr 2011 09:34:38 +0000 (09:34 -0000)]
Fix Unused varaiable warnings.
CID 1163 - 1166

svn path=/trunk/; revision=36675

13 years agoUsing the routing subtree (Miss in my last patch)
Alexis La Goutte [Sun, 17 Apr 2011 08:58:15 +0000 (08:58 -0000)]
Using the routing subtree (Miss in my last patch)
Fix a typo error (shoubl => should)

svn path=/trunk/; revision=36674

13 years agoRemove another unneeded NULL check. Fixes Coverity CID 605.
Gerald Combs [Sat, 16 Apr 2011 22:02:14 +0000 (22:02 -0000)]
Remove another unneeded NULL check. Fixes Coverity CID 605.

svn path=/trunk/; revision=36673

13 years agoFix Coverity CIDs 603 & 604.
Gerald Combs [Sat, 16 Apr 2011 21:46:15 +0000 (21:46 -0000)]
Fix Coverity CIDs 603 & 604.

svn path=/trunk/; revision=36672

13 years agoFix the warnings in Coverity CIDs 606-608.
Gerald Combs [Sat, 16 Apr 2011 21:38:21 +0000 (21:38 -0000)]
Fix the warnings in Coverity CIDs 606-608.

svn path=/trunk/; revision=36671

13 years agoAdd NULL checks. Fixes Coverity CIDs 509 and 510.
Gerald Combs [Sat, 16 Apr 2011 21:25:34 +0000 (21:25 -0000)]
Add NULL checks. Fixes Coverity CIDs 509 and 510.

svn path=/trunk/; revision=36670

13 years agoTry to make the OSX buildbot happy.
Anders Broman [Sat, 16 Apr 2011 17:32:30 +0000 (17:32 -0000)]
Try to make the OSX buildbot happy.

svn path=/trunk/; revision=36669

13 years agoConvert ICMPv6 dissector to "new-style" dissector
Alexis La Goutte [Sat, 16 Apr 2011 17:14:39 +0000 (17:14 -0000)]
Convert ICMPv6 dissector to "new-style" dissector
Fix Dead Store Warning ( warning: Value stored to '*offset*' is never read )

svn path=/trunk/; revision=36668

13 years agoFrom Edwin Groothuis via bug 5813:
Gerald Combs [Sat, 16 Apr 2011 16:45:38 +0000 (16:45 -0000)]
From Edwin Groothuis via bug 5813:

In the explanation of TCP Option 78 (Riverbed Transparency), the labels
are "CSH IP Addr/Port" and "SSH IP Addr/Port". This should be "Src SH IP
Addr/Port" and "Dst SH IP Addr/Port".
The filter keys for these labels are correct.

svn path=/trunk/; revision=36667

13 years agoInitialize feedback_data_len to avoid a compiler warning.
Stig Bjørlykke [Sat, 16 Apr 2011 16:37:53 +0000 (16:37 -0000)]
Initialize feedback_data_len to avoid a compiler warning.

svn path=/trunk/; revision=36666

13 years agoFrom Dirk:
Anders Broman [Sat, 16 Apr 2011 16:00:02 +0000 (16:00 -0000)]
From Dirk:
The attachted patch cleans up the output of DCE/RPC fragment information in the
dissector.
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5772

From me get rid of check_col()

svn path=/trunk/; revision=36665

13 years agoFix compilation errors.
Gerald Combs [Sat, 16 Apr 2011 15:33:24 +0000 (15:33 -0000)]
Fix compilation errors.

svn path=/trunk/; revision=36664

13 years agoFix:
Anders Broman [Sat, 16 Apr 2011 12:28:03 +0000 (12:28 -0000)]
Fix:
packet-rohc.c: In function 'dissect_rohc_ir_rtp_profile_dynamic':
packet-rohc.c:285: warning: 'val_len' may be used uninitialized in this function
packet-rohc.c:186: warning: 'num_bits' may be used uninitialized in this function
packet-rohc.c:186: note: 'num_bits' was declared here

svn path=/trunk/; revision=36663

13 years agoFrom Neil Piercy:
Anders Broman [Sat, 16 Apr 2011 12:22:16 +0000 (12:22 -0000)]
From Neil Piercy:
Adds BMC protocol, including adding support for MAC and RLC CTCH channels to carry it.
From me:
Removed hf blurbs = def and removed check_col added tp CMakeList.

svn path=/trunk/; revision=36662