Commit Graph

14199 Commits

Author SHA1 Message Date
Guy Harris 202e50f991 Rename packet-airopeek.c to packet-peekremote.c, and rename the protocol
as well, as it may also be used by OmniPeek.  Add some comments about
it.

svn path=/trunk/; revision=42377
2012-05-02 01:44:40 +00:00
Bill Meier 3523b34d65 Add new HTTP Status Codes from RFC 6585;
Also: Add codes 226 & 426 as specified in the IANA HTTP Status Code Registry

svn path=/trunk/; revision=42372
2012-05-01 02:42:51 +00:00
Guy Harris 29d7ec110e Indicate why the flags have a field width of 6.
Add the RFC numbers for the BFD RFCs, and a URL for the last I-D that
discussed version 0.

svn path=/trunk/; revision=42371
2012-05-01 01:04:24 +00:00
Chris Maynard 7e1603af9b Forgot to commit this change with r42341 which initializes 'type' to 0 to avoid a clang warning.
svn path=/trunk/; revision=42370
2012-05-01 01:00:28 +00:00
Guy Harris 619e455299 No C++-style comments, please; some C compilers reject them.
svn path=/trunk/; revision=42368
2012-04-30 23:08:26 +00:00
Guy Harris 3b6b521c28 Add some initializations to squelch (bogus) warnings (either the version
is 0 or it isn't, so the variables are not, in fact, used uninitialized).

svn path=/trunk/; revision=42366
2012-04-30 22:05:33 +00:00
Alexis La Goutte 566b6e021b Try to fix some Logic error (Function call argument is an uninitialized value ) Warning found by Clang
svn path=/trunk/; revision=42365
2012-04-30 21:54:45 +00:00
Bill Meier aff0e40393 Rework code slightly:
- use proto_tree_add_item() istead of tvb_get...()/proto_tree_add_uint() in a few cases;
 - misc ...
Also: Whitespace cleanup and reformatting of hf[] entries.

svn path=/trunk/; revision=42364
2012-04-30 21:50:21 +00:00
Alexis La Goutte 1f0cbf3baa Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
svn path=/trunk/; revision=42362
2012-04-30 21:15:17 +00:00
Bill Meier 26566d7cb7 Parenthesize an expression to prevent a possible overflow resulting an incorrect result.
svn path=/trunk/; revision=42361
2012-04-30 20:49:19 +00:00
Chris Maynard fd1174b5a5 Remove unused variable not found by MSVC2010EE but found by OSX buildbot.
svn path=/trunk/; revision=42360
2012-04-30 20:38:13 +00:00
Chris Maynard bda12a5882 Add Selective Directed Broadcast (RFC 1770) IP option dissection support.
svn path=/trunk/; revision=42359
2012-04-30 20:24:33 +00:00
Bill Meier 2fef9f460f Don't use tabs in string constants;
svn path=/trunk/; revision=42357
2012-04-30 19:55:24 +00:00
Bill Meier 8bfe44619f Revert 3 conversions of spaces --> tabs (in text strings) done in SVN #42354.
svn path=/trunk/; revision=42356
2012-04-30 19:20:59 +00:00
pascal 95eb2e7288 From Martin Kaiser:
Fix some 'intermediate pointers must be const qualified' warnings
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7215

svn path=/trunk/; revision=42355
2012-04-30 19:14:14 +00:00
Bill Meier 0f3c6a288e Whitespace cleanup; reformat hf[] entries.
svn path=/trunk/; revision=42354
2012-04-30 19:08:15 +00:00
Chris Maynard 19fe681849 Add MTU probe, MTU reply and Traceroute IP option dissection support.
svn path=/trunk/; revision=42353
2012-04-30 17:32:33 +00:00
pascal aa55f84987 Update comments with the RRLP version currently dissected
svn path=/trunk/; revision=42351
2012-04-30 16:45:03 +00:00
pascal ce8f5a4334 From Evan Huus:
Fix memory leak in process_body_part() when there is no body
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7212

svn path=/trunk/; revision=42350
2012-04-30 15:57:39 +00:00
Chris Maynard e936265168 Add missing RFC791 PROG security definition. Reorder ipopts[] so it matches the order at http://www.iana.org/assignments/ip-parameters, which is ordered by 'Number'. Use the descriptions as they appear there as well. Add TODO placeholders in ipopt[] for the yet-to-be-implemented options.
svn path=/trunk/; revision=42348
2012-04-30 14:29:54 +00:00
pascal 89e4c91d7a From Martin Kaiser:
fix a few clang warnings in DVB-CI dissector
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7215

svn path=/trunk/; revision=42347
2012-04-30 14:05:22 +00:00
pascal a752102faa From Martin Kaiser:
Fix clang warnings in HDCP dissector
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7217

svn path=/trunk/; revision=42346
2012-04-30 13:43:52 +00:00
pascal 4f415d93c5 Fix some clang warnings (dead assignment/increment, assigned value is garbage or undefined)
svn path=/trunk/; revision=42344
2012-04-30 09:00:05 +00:00
pascal 5df9055044 Fix a few clang warnings
svn path=/trunk/; revision=42343
2012-04-30 08:38:26 +00:00
pascal d39ae2d807 Fix https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7064 :
Dissect basic security option according to RFC 791 or RFC 1108 depending on the option length and the first two bytes content.
Also dissect the extended security option.

svn path=/trunk/; revision=42342
2012-04-30 08:21:09 +00:00
Chris Maynard c70938b35d Fix a clang warning due to 'type' not being initialized.
svn path=/trunk/; revision=42341
2012-04-29 23:39:55 +00:00
Martin Mathieson b77cd5d0f4 Check result of sscanf(), and avoid a mirrored variable declaration.
From Visual Studio Analyzer output.

svn path=/trunk/; revision=42327
2012-04-28 23:58:06 +00:00
Martin Mathieson b9677f575c Avoid needlessly shadowing a variable. From Visual Studio Analyzer.
svn path=/trunk/; revision=42326
2012-04-28 23:14:54 +00:00
Chris Maynard 79b57614c5 Initialize val to 0 in case pdata != NULL but "di->conformant_run" is TRUE so the *pdata won't contain garbage as reported by clang.
svn path=/trunk/; revision=42324
2012-04-28 18:23:19 +00:00
Chris Maynard c47744e353 Fix dead initialization warning reported by clang.
svn path=/trunk/; revision=42323
2012-04-28 18:05:27 +00:00
Guy Harris 0fde5403ab Fix long name for reverse charging field.
svn path=/trunk/; revision=42322
2012-04-28 17:57:41 +00:00
Guy Harris 3016d07185 Remove redundant "X.25". (I'm not sure why the protcol name is included
in the reassembly information both here and, for example, IPv4 fragment
reassembly, but perhaps those are redundant as well.)

svn path=/trunk/; revision=42321
2012-04-28 17:42:55 +00:00
Chris Maynard da54d6136c Initialize the bits[] array to zero.
svn path=/trunk/; revision=42320
2012-04-28 17:42:23 +00:00
pascal 5e0e1ceea8 Fix https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7213:
Update dissection of Reverse charging, fast select, and ICRD status selection facilities

svn path=/trunk/; revision=42319
2012-04-28 17:34:23 +00:00
pascal 120f19310a From Evan Huus:
Remove unused variables in SMB dissector
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7211

svn path=/trunk/; revision=42318
2012-04-28 16:48:16 +00:00
Martin Mathieson f0b6f7a6ae Avoid assignement and clang warning.
svn path=/trunk/; revision=42317
2012-04-28 16:48:11 +00:00
Martin Mathieson eafce30cf0 Another unnecessary assignment removed to fix clang warning.
svn path=/trunk/; revision=42316
2012-04-28 16:40:54 +00:00
Martin Mathieson 8b8f87be81 Remove move unread updates to 'offset' to avoid clang warnings.
svn path=/trunk/; revision=42315
2012-04-28 16:33:19 +00:00
Martin Mathieson 68841134b7 Don't look up p_fp_info only to always overwrite it.
svn path=/trunk/; revision=42314
2012-04-28 16:23:23 +00:00
Martin Mathieson ca382b40b4 Remove an unnecessary assignment from clang output. I can't see the
problem with the other 2 warnings for this file.
--This linen , and those below, will be ignored--

M    packet-umts_fp.c

svn path=/trunk/; revision=42312
2012-04-28 16:11:54 +00:00
Martin Mathieson 21cca7ed28 Remove a couple of unused assignments pointed out by clang.
svn path=/trunk/; revision=42310
2012-04-28 15:57:50 +00:00
pascal 8d15f366c6 Remove unused header fields
svn path=/trunk/; revision=42309
2012-04-28 13:37:41 +00:00
pascal f8f3756ab0 Fix https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7051 :
Add option 82 suboptions 150/151/152 decoding to DHCP dissector

svn path=/trunk/; revision=42308
2012-04-28 13:20:41 +00:00
Ronnie Sahlberg d307c7fcd8 SCSI SBC: Add dissection of the ANCHOR and UNMAP bits in WRITESAME10/16
svn path=/trunk/; revision=42307
2012-04-28 08:16:17 +00:00
Jakub Zawadzki 8ab67b185e Like r42302 but in other place.
Followup to r42283: the loop which allocates operation summaries may not run
to completion, so don't try to free all the operation summaries.

svn path=/trunk/; revision=42303
2012-04-27 20:49:15 +00:00
Jeff Morriss a8a5721d47 Fix fuzz failure reported in
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7209 :

Followup to r42283: the loop which allocates operation summaries may not run
to completion, so don't try to free all the operation summaries.

svn path=/trunk/; revision=42302
2012-04-27 20:43:22 +00:00
Jeff Morriss 891c9db19b As suggested in http://www.wireshark.org/lists/wireshark-dev/201204/msg00062.html :
Don't use ENC_BIG_ENDIAN or ENC_LITTLE_ENDIAN with ENC_ASCII: ASCII has no
endianism, so ENC_NA is more appropriate.

svn path=/trunk/; revision=42297
2012-04-27 18:58:37 +00:00
Guy Harris 4d1e993305 Update commented-out code to reflect the new reality.
svn path=/trunk/; revision=42296
2012-04-27 18:31:19 +00:00
pascal e191fe2a99 From Tom Bottom:
Fix AEM status field decoding
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7205

svn path=/trunk/; revision=42294
2012-04-27 17:36:53 +00:00
Anders Broman 9d9be8f76d From David Wei:
Further additions and fixes to MBMS in M3AP dissector.

from me update to 11.1

svn path=/trunk/; revision=42290
2012-04-27 11:08:37 +00:00