Commit Graph

68225 Commits

Author SHA1 Message Date
Mikael Kanstrup f4ca61220a androiddump: Avoid linktype/encap conversion
Let androiddump's internal definition of encap types directly
use linktype values from libpcap/wiretap. This way back and forth
conversion between internal and public values can be avoided.

Change-Id: I67522283cc3eb15cbdb1bfdd829bb1ff0031bb82
Reviewed-on: https://code.wireshark.org/review/23079
Petri-Dish: Michael Mann <mmann78@netscape.net>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2017-08-15 14:44:31 +00:00
Dario Lombardo bc9bf64f8d Qt: fix compilation without pcap.
Change-Id: Ib8d21d63730ea6e18032b89ba0042ee7521645a8
Reviewed-on: https://code.wireshark.org/review/23078
Reviewed-by: Michael Mann <mmann78@netscape.net>
Petri-Dish: Dario Lombardo <lomato@gmail.com>
Tested-by: Dario Lombardo <lomato@gmail.com>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2017-08-15 14:44:11 +00:00
Pascal Quantin 35f9349396 TCAP: more fixes for SRT analysis
- when building the END hash entry, always use the BEGIN destination
address. If no match is done, we will search using the BEGIN entry anyway
- add the source PC to the END hash entry. As it will be used for
messages initiated by the host that sent the BEGIN, we probably can
assume that the PC will not change

Bug: 13926
Change-Id: Iaa8b09bf6821961d1eab22683600f36d77bd2cc5
Reviewed-on: https://code.wireshark.org/review/23048
Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
Petri-Dish: Pascal Quantin <pascal.quantin@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Michael Mann <mmann78@netscape.net>
2017-08-15 13:52:02 +00:00
Gerald Combs 9f7f401f32 CMake: Remove an unused variable.
Remove a variable apparently left over from the DocBook→AsciiDoc
transition.

Change-Id: Ieb6e2fd282ab71227bc5d33c200f04051acf529b
Reviewed-on: https://code.wireshark.org/review/23077
Reviewed-by: Gerald Combs <gerald@wireshark.org>
2017-08-14 20:28:10 +00:00
Gerald Combs 01449b849e WSUG: Remove the protocol help section
The protocol help feature was completely removed in g09efa5fb8b and
deprecated long before that.

Change-Id: Ia0bde785002025c0cf9e3f783a5cad7f784938a2
Reviewed-on: https://code.wireshark.org/review/23076
Reviewed-by: Gerald Combs <gerald@wireshark.org>
2017-08-14 19:07:01 +00:00
olivermd 7ff66471fa Couchbase: Add doc flag support to dissector
This patch makes required changes to be able to dissect packets that use
the new subdoc doc flags. This involved modifying the existing subdoc
flags, creating the new docs flags and modifying the extras dissector.

Change-Id: Iaaf5e58d778ca5f54f76c9d27680df68eee8b7bd
Reviewed-on: https://code.wireshark.org/review/23032
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
2017-08-14 17:08:55 +00:00
Richard Sharpe e347139d3f ieee802.11: Replace an incorrect fall through with a break.
Table 8-216—GAS Initial Request frame body format (page 752 of the
2012 version) suggests that the only thing that comes after the length
is the actual request and since the default just inserts the bytes for
req_len, it looks like the fall-through should not be there and it
should be a break.

Change-Id: I8e5afb24fedffea869829dc9f5bf3d42b20121eb
Reviewed-on: https://code.wireshark.org/review/23075
Reviewed-by: Michael Mann <mmann78@netscape.net>
Petri-Dish: Michael Mann <mmann78@netscape.net>
Reviewed-by: Richard Sharpe <realrichardsharpe@gmail.com>
2017-08-14 14:38:48 +00:00
Alexis La Goutte 691bec3c09 ieee80211: fix dpp doesn't match PROTOABBREV of ieee80211
and also with conflict check: 'dpp' exists multiple times with NOT compatible types: FT_PROTOCOL and FT_UINT8

Change-Id: I98e2f7e8abbee5423e2bfa7b71b5259edd4711e4
Reviewed-on: https://code.wireshark.org/review/23071
Reviewed-by: Michael Mann <mmann78@netscape.net>
2017-08-14 11:12:59 +00:00
Alexis La Goutte 34d3ad990c wifi-dpp: fix dppi.[init|resp].hash doesn't match PROTOABBREV of wifi-dpp
Change-Id: I7132f40aaed8ee217af66ec89a3ccce61a359554
Reviewed-on: https://code.wireshark.org/review/23070
Reviewed-by: Michael Mann <mmann78@netscape.net>
2017-08-14 11:12:08 +00:00
Alexis La Goutte 97e0eb3ec6 Makefile.am (dissectors): fix align indent
Change-Id: Ifde626095a61bb3aca3f9cc101023aa4bbf3341b
Reviewed-on: https://code.wireshark.org/review/23072
Reviewed-by: Michael Mann <mmann78@netscape.net>
2017-08-14 11:11:10 +00:00
Alexis La Goutte 2c58885e94 ieee80211: fix typo specfic => specific
Change-Id: Ic071dcccf5aab5d3a45dd6354f3cd6eedbc1a84f
Reviewed-on: https://code.wireshark.org/review/23073
Reviewed-by: Michael Mann <mmann78@netscape.net>
2017-08-14 11:10:46 +00:00
Peter Wu 3298a52943 wifi: fix "multiple definition of wifi_display_ie_handle" linker error
Change-Id: I4aee15cbf241d31c274dc511be2f86b8bfeae5b8
Fixes: v2.5.0rc0-683-g3c0ff67a9c ("ieee80211: Make a few dissector tables for vendor specific functionality")
Reviewed-on: https://code.wireshark.org/review/23069
Petri-Dish: Peter Wu <peter@lekensteyn.nl>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
2017-08-14 08:57:02 +00:00
Richard Sharpe d6eda2a3a3 ieee80211 : Implement Wi-Fi DPP spec
Including attributes in Public Action frames and those that can appear in GAS
frames.

Change-Id: I8d2a717984295592952b8fff82879197ace2a4b2
Reviewed-on: https://code.wireshark.org/review/22615
Petri-Dish: Michael Mann <mmann78@netscape.net>
Reviewed-by: Richard Sharpe <realrichardsharpe@gmail.com>
2017-08-14 05:24:59 +00:00
Michael Mann 3c0ff67a9c ieee80211: Make a few dissector tables for vendor specific functionality
This allows vendors to more easily expand functionality.

Change-Id: Iaa6a0626f3ab3c80a3ea90ca09c90284705d0221
Reviewed-on: https://code.wireshark.org/review/23066
Reviewed-by: Richard Sharpe <realrichardsharpe@gmail.com>
2017-08-14 04:40:04 +00:00
Michael Mann 329cccfc7b packet-ieee80211.c: Add dissector table for vendor specific actions
Gives a little more flexibility for vendor implementations
https://www.wireshark.org/lists/wireshark-dev/201708/msg00053.html
https://ask.wireshark.org/questions/56816/ieee-80211-vendor-specific-action

Change-Id: I0345e43140a8ac99b26932b72d08a99ca0036389
Reviewed-on: https://code.wireshark.org/review/23065
Petri-Dish: Michael Mann <mmann78@netscape.net>
Reviewed-by: Richard Sharpe <realrichardsharpe@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
2017-08-14 04:36:57 +00:00
Martin Kaiser 35a6a1396f iso14443: fix the request-response tracking
Distinguish between Waiting Time Extension (WTX) messages and other
messages. Use a composite key for the wmem tree that consists of a
boolean wtx flag and the request packet number.

Change-Id: I7783aabb231fe145a8d8c0d65c88b553d5a5b533
Reviewed-on: https://code.wireshark.org/review/23063
Reviewed-by: Martin Kaiser <wireshark@kaiser.cx>
Petri-Dish: Martin Kaiser <wireshark@kaiser.cx>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Michael Mann <mmann78@netscape.net>
2017-08-14 03:35:40 +00:00
João Valverde f49cc4d952 RADIUS: Initialize vendor attribute type to zero
Change-Id: Ic43363d93f6d573ddb8d3de3e0bd62624124d104
Reviewed-on: https://code.wireshark.org/review/23064
Reviewed-by: João Valverde <j@v6e.pt>
2017-08-13 17:38:43 +00:00
Peter Wu 292708ab32 CMake: allow CMAKE_INSTALL_RPATH to be overridden
By default CMake sets the RPATH for built binaries to the build
directory. To enable relocatable build directories, I override this
RPATH as follows during development:

    -DCMAKE_BUILD_WITH_INSTALL_RPATH=1
    -DCMAKE_INSTALL_RPATH='$ORIGIN:$ORIGIN/../extcap/..'

To make work (again), do not overwrite CMAKE_INSTALL_RPATH in
CMakeLists.txt.

Change-Id: I7f238af07926ea706a3f999c5b1e13286ca53a66
Fixes: v2.5.0rc0-664-g55dd9b16d5 ("CMake: Update RPATH during installation.")
Reviewed-on: https://code.wireshark.org/review/23062
Petri-Dish: Peter Wu <peter@lekensteyn.nl>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Gerald Combs <gerald@wireshark.org>
2017-08-13 15:01:00 +00:00
Guy Harris 84b86bdfa2 Get rid of trailing blanks.
Change-Id: Ic236b307a0d9d81a0c906fa33599706165d4360d
Reviewed-on: https://code.wireshark.org/review/23061
Reviewed-by: Guy Harris <guy@alum.mit.edu>
2017-08-13 08:49:16 +00:00
Guy Harris de3a563d66 Clean up configuration file and plugin folder description.
Have a separate section, before all the others, giving the top-level
directories under which those folders are placed, with names for use in
later sections.

Update the example personal application data folder on Windows to the NT
6.x-and-beyond standard.

Don't give the pathnames for configuration files in the table, just give
the name and the description.

For the global files, distinguish between macOS and other Unix-like
systems, and, for the latter, mention both /usr/XXX and /usr/local/XXX.

The preferences file isn't "wireshark.conf", and hasn't been that for
quite a while.

For all the configuration files, give the details of personal vs. global
files - they're different for different files.

Have separate sections for configuration files and plugin folders.  For
plugin folders, note both the use of the top-level plugin folder for Lua
scripts and the use of the per-Wireshark-version subfolder for compiled
plugins.

Use fixed-format text for the non-variable parts of pathnames, and
italics for the variable parts.

This should, among other things, make it easier for other documents,
such as the Lua documentation in the Wireshark wiki, to refer to folders
such as the configuration file and plugin folders.

Change-Id: I133c1e159e992827458bee64c4f37be5b50f9b6f
Reviewed-on: https://code.wireshark.org/review/23060
Reviewed-by: Guy Harris <guy@alum.mit.edu>
2017-08-13 08:47:46 +00:00
Gerald Combs f2a3a705e6 [Automatic update for 2017-08-13]
Update manuf, services enterprise numbers, translations, and other items.

Change-Id: Ie0e554e42e96a8b8f8c8ce7f4a9ea615276b49fb
Reviewed-on: https://code.wireshark.org/review/23056
Reviewed-by: Gerald Combs <gerald@wireshark.org>
2017-08-13 08:11:00 +00:00
John Keeping e871a3ffb4 ZigBee ZCL IAS: decode IAS Zone Enroll Request
Add missing decoding for the Enroll Request command in the IAS Zone
cluster.

Change-Id: I8dc0875912c87601f610173014879e13cad0820c
Reviewed-on: https://code.wireshark.org/review/23050
Petri-Dish: Michael Mann <mmann78@netscape.net>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Michael Mann <mmann78@netscape.net>
2017-08-13 01:31:32 +00:00
Ahmad Fatoum aa2117a8f2 Include xtea.[hs] in CMakeLists.txt and Makefile.am
CMake part was missing. Autotools part didn't include header.

Change-Id: I5a642a80d30b02bb16eb48e0e4e1f8e0e8332a75
Reviewed-on: https://code.wireshark.org/review/23051
Petri-Dish: Michael Mann <mmann78@netscape.net>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Michael Mann <mmann78@netscape.net>
2017-08-12 23:18:36 +00:00
Gerald Combs 537b083e02 Sync some CMake and Autotools install behaviors.
Adjust the following CMake and Autotools behaviors in order to
synchronize their respective install behaviors:

- Disable tfshark by default in CMakeOptions.txt
- Add profiles/Bluetooth/preferences to Makefile.am
- Add missing captype and ciscodump entries to doc/Makefile.am
- Install help/faq.txt on all platforms in CMakeLists.txt
- Add BUILD_corbaidl2wrs, BUILD_dcerpcidl2wrs, and BUILD_xxx2deb
  options to CMake and use them to adjust the corresponding parts
  of the build.
- Pull the DCERPC idl2wrs build steps into the top-level
  CMakeLists.txt.

This change doesn't sync everything. Some installed content still
diverges, including the following:

- CMake installs a bunch of modules into lib/wireshark:
    FindGLIB2.cmake
    FindWireshark.cmake
    FindWSWinLibs.cmake
    LocatePythonModule.cmake
    UseAsn2Wrs.cmake
    UseMakeDissectorReg.cmake
    WiresharkConfig.cmake
    WiresharkConfigVersion.cmake

  Do we need any or all of these? If so, should the Autotools behavior
  be synced accordingly?

- Autotools installs libtool .la files. It also installs
  wireshark-gtk.desktop unconditionally.

Change-Id: I7846efe08f7139c31b6ceca6f08a1fa5168b3e22
Reviewed-on: https://code.wireshark.org/review/23041
Reviewed-by: Gerald Combs <gerald@wireshark.org>
Petri-Dish: Gerald Combs <gerald@wireshark.org>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Michael Mann <mmann78@netscape.net>
2017-08-12 13:53:59 +00:00
Alexis La Goutte dc2a2424b4 uma: avoid global variable
Change-Id: Icc179c00b5b2bee6dc69d843de784c7519360206
Reviewed-on: https://code.wireshark.org/review/22830
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Michael Mann <mmann78@netscape.net>
2017-08-12 13:51:08 +00:00
Alexis La Goutte 6bdd072803 TLS: Add QUIC Transport Parameters
See https://tools.ietf.org/html/draft-ietf-quic-tls

Bug: 13881
Change-Id: Id8ae5cdc2f7232e5db28846e528ae378fc0ac58d
Reviewed-on: https://code.wireshark.org/review/22780
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Reviewed-by: Michael Mann <mmann78@netscape.net>
2017-08-12 13:50:45 +00:00
Gerald Combs c09538e48c Tools: Check for ASan directly.
Check for ASan by testing tshark directly instead of trying to infer it
from the build environment.

Change-Id: I05813161cd8c20f0c105d976706f8b62fd360cb9
Reviewed-on: https://code.wireshark.org/review/23047
Reviewed-by: Gerald Combs <gerald@wireshark.org>
2017-08-11 17:32:53 +00:00
Gerald Combs fd2777b138 CMake: Make PLUGIN_INSTALL_DIR absolute.
CMAKE_INSTALL_LIBDIR is a relative path. Prefix it with
CMAKE_INSTALL_PREFIX so that PLUGIN_INSTALL_DIR is absolute.
This matches our Autotools behavior.

Change-Id: Ib42cea8745615686e0c7e8473bdb1975a3b9eccd
Reviewed-on: https://code.wireshark.org/review/23043
Petri-Dish: Gerald Combs <gerald@wireshark.org>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Gerald Combs <gerald@wireshark.org>
2017-08-11 15:05:33 +00:00
Sontol Bonggol 5a0aa773c1 Do not allow -m option to be larger than our allocated buffer
Specifying -m larger than our allocated buffer may result in segfault.
This patch protects it from happening and exits early.

Change-Id: I2197605d90c98fc9d12b69a68fe533aaf6457df2
Reviewed-on: https://code.wireshark.org/review/23044
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Michael Mann <mmann78@netscape.net>
2017-08-11 11:52:19 +00:00
Martin Mathieson ef24608db1 Link forward to ftp-data from ftp commands
Change-Id: I57013fefed2e588749a208bb3e3562ca4bbef0ac
Reviewed-on: https://code.wireshark.org/review/22953
Petri-Dish: Martin Mathieson <martin.r.mathieson@googlemail.com>
Petri-Dish: Graham Bloice <graham.bloice@trihedral.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Martin Mathieson <martin.r.mathieson@googlemail.com>
2017-08-10 22:03:45 +00:00
Alexis La Goutte 108b9b869b debian: Update symbols
Change-Id: I21d6dbadb78367f58dce09f97bb6e41ab81ec67a
Reviewed-on: https://code.wireshark.org/review/23011
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2017-08-10 20:47:17 +00:00
Alexis La Goutte 06ab7f5a4e .mailmap: update (of July and Mid-August)
Change-Id: I53c3dab6f83cce138a06bb95f1f3bacec681a2a2
Reviewed-on: https://code.wireshark.org/review/23021
Reviewed-by: cedric izoard <cedric.izoard@ceva-dsp.com>
Reviewed-by: Balint Reczey <balint@balintreczey.hu>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2017-08-10 20:46:38 +00:00
Gerald Combs 55dd9b16d5 CMake: Update RPATH during installation.
If we're installing into a non-system prefix on UNIX or Linux, make
sure CMake updates our RPATHs accordingly.

Change-Id: Ia6eaa6533c996a8228cff25e9d2032b223781681
Reviewed-on: https://code.wireshark.org/review/23040
Petri-Dish: Gerald Combs <gerald@wireshark.org>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Gerald Combs <gerald@wireshark.org>
2017-08-10 20:29:58 +00:00
Alexis La Goutte d619a4239e Add QUIC Transport IETF (draft-05) protocol
Bug: 13881
Change-Id: I9007800060dfc503a1039f652d53c9cb1cd42211
Reviewed-on: https://code.wireshark.org/review/22366
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Reviewed-by: Peter Wu <peter@lekensteyn.nl>
2017-08-10 19:24:47 +00:00
Nicolas Bertin 61eb3f0b75 ua3g: fixed VTA type display for 8018, 8028S and 8008
Change-Id: I24158599831e432b62ff2ec0f36eeb1350c18a4b
Reviewed-on: https://code.wireshark.org/review/23031
Reviewed-by: Michael Mann <mmann78@netscape.net>
Petri-Dish: Michael Mann <mmann78@netscape.net>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
2017-08-10 15:57:16 +00:00
Pascal Quantin 21cb715dbe SML: fix checksum verification
The checksum is stored in little endian format. Regression introduced in gad6fc87d64

Change-Id: Ic5dd58f645fbe9d791b367d5777e07acb135d38c
Reviewed-on: https://code.wireshark.org/review/23034
Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
2017-08-10 15:54:24 +00:00
olivermd de2a738cbd Couchbase: Add get error map cmd
Change-Id: I9ca47fa0f77edd0ce94d2fe4cb098b5ff2786749
Reviewed-on: https://code.wireshark.org/review/23030
Reviewed-by: Michael Mann <mmann78@netscape.net>
Petri-Dish: Michael Mann <mmann78@netscape.net>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
2017-08-10 15:50:06 +00:00
Pascal Quantin 8c72e01a31 MTP2: fix checksum verification
The checksum is stored in little endian format. Regression introduced in gad6fc87d64

Change-Id: I0fd7c972eb365e7deddd07a70e5f95fcaf006618
Reviewed-on: https://code.wireshark.org/review/23033
Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
2017-08-10 15:45:57 +00:00
Alexis La Goutte f4781f3655 editor_file_dialog (qt/widgets): fix indent (use 4 spaces)
Change-Id: I507737879c2e24cdca6d305b8e3775967071f1c3
Reviewed-on: https://code.wireshark.org/review/23028
Reviewed-by: Michael Mann <mmann78@netscape.net>
2017-08-09 14:07:14 +00:00
Guy Harris b66b4a96e3 Handle older lz4 versions.
lz4 switched from sequentially numbered releases, named rN, to
vX.Y.Z-numbered releases.

The old sequentially-numbered releases were in tarballs at
https://github.com/lz4/lz4/archive/rN.tar.gz, which extract into an
lz4-rN directory.

THe new vX.Y.Z-numbered releases are in tarballs at
https://github.com/lz4/lz4/archive/vX.Y.Z.tar.gz, which extract into an
lz4-X.Y.Z directory - no, not lz4-vX.Y.Z, just lz4-X.Y.Z.

We expect LZ4_VERSION to be set to rN for the sequentially- numbered
releases and X.Y.Z - not vX.Y.Z - for the vX.Y.Z- numbered releases.

Change-Id: Icb0275aa69b96eea43bf3a8645748a86cec81c94
Reviewed-on: https://code.wireshark.org/review/23026
Reviewed-by: Guy Harris <guy@alum.mit.edu>
2017-08-09 03:34:12 +00:00
Balint Reczey 5580b3beb7 debian: Add script for updating shared library package names
It should be run prior to major release after the new shared library
versions are set for cmake.

Change-Id: I5cf2a3a9121672c8be14e57a318c9eaf5105e622
Signed-off-by: Balint Reczey <balint.reczey@canonical.com>
Reviewed-on: https://code.wireshark.org/review/22967
Reviewed-by: Balint Reczey <balint@balintreczey.hu>
Petri-Dish: Balint Reczey <balint@balintreczey.hu>
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Reviewed-by: Michael Mann <mmann78@netscape.net>
2017-08-09 00:58:09 +00:00
Alexis La Goutte c6a23a4b72 ofcs2: fix 'data' was marked unused but was used [-Wused-but-marked-unused]
Change-Id: Ic04842280e829b30230c7196ab0ba1f49462f295
Reviewed-on: https://code.wireshark.org/review/23016
Reviewed-by: Michael Mann <mmann78@netscape.net>
2017-08-09 00:56:53 +00:00
Alexis La Goutte 4d798e62ec obex: fix 'pinfo' was marked unused but was used [-Wused-but-marked-unused]
Change-Id: Id791b880d24f3ec948016c6bf00c00ac8f9cd6fb
Reviewed-on: https://code.wireshark.org/review/23017
Reviewed-by: Michael Mann <mmann78@netscape.net>
2017-08-09 00:55:49 +00:00
Alexis La Goutte 591d7ec817 openflow (v1): fix 'pinfo/length' was marked unused but was used [-Wused-but-marked-unused]
Change-Id: Ie74d079cfe63dcdb5f59a576d64c93d4452edeb2
Reviewed-on: https://code.wireshark.org/review/23018
Reviewed-by: Michael Mann <mmann78@netscape.net>
2017-08-09 00:54:51 +00:00
Alexis La Goutte b6d080a04e pcp: fix 'pinfo' was marked unused but was used [-Wused-but-marked-unused]
Change-Id: I2cd58b58ff53951044ac13caffdc901d8c1b65bd
Reviewed-on: https://code.wireshark.org/review/23019
Reviewed-by: Michael Mann <mmann78@netscape.net>
2017-08-09 00:53:27 +00:00
Alexis La Goutte b4320e6662 bootp: fix 'pinfo' was marked unused but was used [-Wused-but-marked-unused]
Change-Id: Ia711b3954aded55470d92d0787368a555481367d
Reviewed-on: https://code.wireshark.org/review/23020
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Michael Mann <mmann78@netscape.net>
2017-08-09 00:33:25 +00:00
Guy Harris 01f2e2b201 We really only need one range_foreach routine.
Rename range_foreach_r() to range_foreach(), getting rid of the old
range_foreach().

If your callback doesn't require an additional argument, just pass NULL
when calling range_foreach(), and declare the argument as unused.

Change-Id: I49a56f90610e39cf2ddc398c9e30ed11a6ca90db
Reviewed-on: https://code.wireshark.org/review/23025
Reviewed-by: Guy Harris <guy@alum.mit.edu>
2017-08-08 22:06:27 +00:00
Guy Harris 3bcd0e142a Fix a comment.
\, not /, is the standard pathname separator on Windows.

Change-Id: Ia1f1be5e4bd76519e27df430e8ef46967ffe35f5
Reviewed-on: https://code.wireshark.org/review/23024
Reviewed-by: Guy Harris <guy@alum.mit.edu>
2017-08-08 21:05:26 +00:00
Guy Harris ae3fd56b20 Check for errors running the Lua scripts.
Also, fix error messages reported for lua_load() to speak of
precompilation, not execution (the script isn't *executed* until
lua_pcall() is called).

Change-Id: I7ac9ee6e5df7612f9af141e51958fbfad38a4083
Reviewed-on: https://code.wireshark.org/review/23023
Reviewed-by: Guy Harris <guy@alum.mit.edu>
2017-08-08 21:03:25 +00:00
Ahmad Fatoum 6d8f3ddc7c checkAPIs.pl: Don't check prefs.[ch] for duplicate registered variables
Change-Id: I389aa31db4da11b2b1e8d009a4cfeca03b587f45
Reviewed-on: https://code.wireshark.org/review/23014
Petri-Dish: Michael Mann <mmann78@netscape.net>
Reviewed-by: Ahmad Fatoum <ahmad@a3f.at>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Michael Mann <mmann78@netscape.net>
2017-08-08 15:07:26 +00:00