Commit Graph

77347 Commits

Author SHA1 Message Date
João Valverde 967c0f2c93 IPv4: Use FT_UINT8 for the 3 bits flags field
XXX comment reworded to be more informative and reflect lack of
consensus on removing RFC 3514.

Change-Id: If15b8f5d7c450192b1b6ebbfa463b19f27de177c
Reviewed-on: https://code.wireshark.org/review/35934
Petri-Dish: João Valverde <j@v6e.pt>
Tested-by: Petri Dish Buildbot
Reviewed-by: João Valverde <j@v6e.pt>
2020-01-24 18:56:09 +00:00
Guy Harris 0b64a3afc0 Fix the check for ws_fdopen() failure.
If tf.handle() fails, it returns -1; we shouldn't call ws_fdopen() on
its return value.  (I'm not sure whether it can fail, but this code is
all a bit twisty.)

If tf.handle() succeeds, and we hand its return value to ws_fdopen(),
and we get back NULL, *that* indicates that ws_fdopen() failed.

This should fix Coverity CID 1457929, preventing a FILE leak.

Change-Id: I23bb04579d26928037f8b9284b7741affc3596f7
Reviewed-on: https://code.wireshark.org/review/35940
Petri-Dish: Guy Harris <guy@alum.mit.edu>
Tested-by: Petri Dish Buildbot
Reviewed-by: Guy Harris <guy@alum.mit.edu>
2020-01-24 18:51:33 +00:00
Martin Mathieson 8a79d27010 SIP: share dissector status value_string array with tshark SIP stats
Change-Id: I8f12310f69aa5393ba8ad37e498845f2a1f17693
Reviewed-on: https://code.wireshark.org/review/35927
Petri-Dish: Martin Mathieson <martin.r.mathieson@googlemail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Martin Mathieson <martin.r.mathieson@googlemail.com>
2020-01-24 16:10:43 +00:00
João Valverde f1e2d36ffa IPv4: Rename variable
Change-Id: I3aa4161bb6be9990cca038d5a4df131f5c6ad365
Reviewed-on: https://code.wireshark.org/review/35933
Reviewed-by: João Valverde <j@v6e.pt>
2020-01-24 15:31:28 +00:00
Aymeric Moizard 6fceff7240 RTP Stream Analysis: fix wrong values for clock drift and freq drift.
The drift values should use the relative time (arrivaltime) instead
of the absolute time (current_time) otherwise, the values are wrong.

Bug: 16343
Change-Id: Icdc65476ab68ce51088314b7c9de939c86472ae9
Reviewed-on: https://code.wireshark.org/review/35908
Reviewed-by: Aymeric Moizard <amoizard@gmail.com>
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-01-24 13:36:13 +00:00
Gerald Combs db6c3b8e15 IDMP: Reset a couple of variables.
Reset protocolID and opcode during cleanup. Blind attempt at fixing bug
16342.

Bug: 16342
Change-Id: Icafc0e201a6e24d2df22287b62cdc4cfeef0c1f3
Reviewed-on: https://code.wireshark.org/review/35925
Reviewed-by: Gerald Combs <gerald@wireshark.org>
Petri-Dish: Gerald Combs <gerald@wireshark.org>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-01-24 05:10:21 +00:00
Peter Wu d7d14f230f QUIC: add new frame type and transport code (draft -25)
Bug: 13881
Change-Id: Ia62917a9d37f8d47a19288f6aacd78cd6748035e
Reviewed-on: https://code.wireshark.org/review/35917
Petri-Dish: Peter Wu <peter@lekensteyn.nl>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-01-24 05:08:08 +00:00
João Valverde 3a8215827d IPv4: Remove unnecessary macros
Change-Id: Idde00ef452feeef94edf071964b2ab3767ce21c6
Reviewed-on: https://code.wireshark.org/review/35924
Petri-Dish: João Valverde <j@v6e.pt>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-01-24 05:06:57 +00:00
João Valverde 89beba7ea6 IPv4: Fix display of Fragment Offset field
Bug: 16344
Change-Id: I0fe0bec606a103e0cb96c6b6da0f98f9b12097b7
Fixes: v3.1.0rc0-916-g237ec1349f ("IP: Make dissection of ip.frag_offset RFC 791 compliant")
Reviewed-on: https://code.wireshark.org/review/35918
Petri-Dish: João Valverde <j@v6e.pt>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-01-24 05:06:07 +00:00
Dario Lombardo fd1dd72d8e cirrus-ci: fix check and install bash.
Change-Id: Icbd06143521d7e73619ecfdd212c500b4cf6668d
Reviewed-on: https://code.wireshark.org/review/35923
Reviewed-by: Dario Lombardo <lomato@gmail.com>
2020-01-23 16:57:25 +00:00
Dario Lombardo ece8da5ea6 tools: fix check in bsd-setup.
Change-Id: I3ad5793d6aeca54fc84c82b226311c0e6777c1df
Reviewed-on: https://code.wireshark.org/review/35922
Reviewed-by: Dario Lombardo <lomato@gmail.com>
2020-01-23 16:57:13 +00:00
Pascal Quantin 6686ffcf6b RTCP: fix packet length check when having unhandled application data
The offset variable was not incremented in that case

Bug: 16345
Change-Id: Ifb73a2ef9371ef5e4567013056fc77ca83a89e37
Reviewed-on: https://code.wireshark.org/review/35919
Petri-Dish: Pascal Quantin <pascal@wireshark.org>
Tested-by: Petri Dish Buildbot
Reviewed-by: Pascal Quantin <pascal@wireshark.org>
2020-01-23 13:41:09 +00:00
Erwin Rol 10d683ed07 artnet: update ArtPoll packet dissection
- Add VLC transmision bit to talk_to_me field
- Add targeted mode bit to talk_to_me field
- Add targeted top and bottom port range fields

Change-Id: Ibe12d2418129ef431ba3e832df11185fb123c9e7
Signed-off-by: Erwin Rol <erwin@erwinrol.com>
Reviewed-on: https://code.wireshark.org/review/35914
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
2020-01-23 05:27:40 +00:00
Erwin Rol 2399f0ee92 artnet: Update ESTA Manufacturer codes
Change-Id: I6bb7e5243ee4b37c0a79f799a03b66c55d072135
Signed-off-by: Erwin Rol <erwin@erwinrol.com>
Reviewed-on: https://code.wireshark.org/review/35913
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
2020-01-23 05:27:14 +00:00
Erwin Rol f4dfd4c955 artnet: update Art-Net OEM codes
Change-Id: Iff19807c0869fdb7301ddb4a4d28bf2034d682f3
Signed-off-by: Erwin Rol <erwin@erwinrol.com>
Reviewed-on: https://code.wireshark.org/review/35912
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
2020-01-23 05:26:55 +00:00
Erwin Rol 623d5b3a61 artnet: update documentation URL's
Change-Id: I1cce69c43f7260d033408405083f2a1405505714
Signed-off-by: Erwin Rol <erwin@erwinrol.com>
Reviewed-on: https://code.wireshark.org/review/35911
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
2020-01-23 05:26:19 +00:00
Erwin Rol 824fef51aa artnet: Fix ArtPollReply universe calculation
The SubSwitch field holds bit 7-4 of the 15bit port address, but
it holds it in bit 3-0 so we have to shift it 4 bits instead of
taking bit 7-4 of the SubSwitch field.

Change-Id: I7841d64749e8a561e4ee928a23a3c46cb5be34cb
Signed-off-by: Erwin Rol <erwin@erwinrol.com>
Reviewed-on: https://code.wireshark.org/review/35910
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
2020-01-23 05:26:07 +00:00
Peter Wu b3c9244c82 kerberos: fix -Wcomma warnings
Change-Id: Ie4c3005f1329c3e4a431bc24488963cf0f719f53
Fixes: v3.3.0rc0-407-gbb105ee06c ("packet-kerberos: add decrypt_krb5_krb_cfx_dce() function")
Reviewed-on: https://code.wireshark.org/review/35916
Petri-Dish: Peter Wu <peter@lekensteyn.nl>
Tested-by: Petri Dish Buildbot
Reviewed-by: Gerald Combs <gerald@wireshark.org>
2020-01-23 01:02:46 +00:00
Stefan Metzmacher bb105ee06c packet-kerberos: add decrypt_krb5_krb_cfx_dce() function
This will be used in order to decrypt DCERPC messages with
header signing.

Change-Id: Ib72fe0fcae5eaaa5bbc755e9af5a36b23b370bde
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-on: https://code.wireshark.org/review/35710
Petri-Dish: Gerald Combs <gerald@wireshark.org>
Tested-by: Petri Dish Buildbot
Reviewed-by: Gerald Combs <gerald@wireshark.org>
2020-01-22 21:45:47 +00:00
Stefan Metzmacher a7c862ca0f packet-kerberos: split out decrypt_krb5_with_cb()
This will be reused in the next commits in order to
use use krb5_c_decrypt_iov() instead of krb5_c_decrypt()
in some situations.

Change-Id: I026cce14cb48813907e52793f3075cb4b9ce16c1
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-on: https://code.wireshark.org/review/35709
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Petri-Dish: Gerald Combs <gerald@wireshark.org>
Tested-by: Petri Dish Buildbot
Reviewed-by: Gerald Combs <gerald@wireshark.org>
2020-01-22 21:45:34 +00:00
Stefan Metzmacher 1b97f84785 packet-gssapi: add gssapi_{header,trailer}_tvb
Change-Id: I3a9cebec0b8cb39eee99d23b3609241f106c045a
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-on: https://code.wireshark.org/review/35708
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Petri-Dish: Gerald Combs <gerald@wireshark.org>
Tested-by: Petri Dish Buildbot
Reviewed-by: Gerald Combs <gerald@wireshark.org>
2020-01-22 21:34:45 +00:00
Stefan Metzmacher 6afa37bb1a packet-dcerpc: pass down header/trailer for hdr_signing
Change-Id: I1d14ffe928e1b303eee7e95a45a9617ffcfb151b
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-on: https://code.wireshark.org/review/35707
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-01-22 21:06:57 +00:00
Stefan Metzmacher 560f120946 packet-spnego: make use of decrypt_krb5_krb_cfx_dce()
This commit will finally allow the decryption of DCERPC
traffic with AES-keys and header signing.

Change-Id: I3a76541493976c9f4d3d228757e8fe0e08a0f02c
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-on: https://code.wireshark.org/review/35711
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-01-22 18:22:30 +00:00
Uli Heilmeier b0d959eef8 NVME-TCP: Fix ICReq fields:
Fix handling of ICReq fields as documented at
https://nvmexpress.org/wp-content/uploads/NVMe-over-Fabrics-1.1-2019.10.22-Ratified.pdf
Section 7.4.10.2   Initialize Connection Request PDU (ICReq)

Bug: 16333
Change-Id: I96d9f05dd7c2c7b0c5a2a70df494cf0b163d10d1
Reviewed-on: https://code.wireshark.org/review/35892
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-01-22 12:26:18 +00:00
Pascal Quantin adeeb7f2da LTE RRC: fix a memory leak in composite TVB handling
Bug: 16341
Change-Id: Ib6c020ea3df8b39a02f742f0684fca7db96f1fc3
Reviewed-on: https://code.wireshark.org/review/35899
Petri-Dish: Pascal Quantin <pascal@wireshark.org>
Tested-by: Petri Dish Buildbot
Reviewed-by: Pascal Quantin <pascal@wireshark.org>
2020-01-22 11:26:11 +00:00
Pascal Quantin 7bc9cd620b GTP: fix a leak in UAT
Change-Id: Ibe4224cf1ac924be88e2352524dd4618976b683d
Reviewed-on: https://code.wireshark.org/review/35898
Petri-Dish: Pascal Quantin <pascal@wireshark.org>
Tested-by: Petri Dish Buildbot
Reviewed-by: Pascal Quantin <pascal@wireshark.org>
2020-01-22 10:43:48 +00:00
Stig Bjørlykke 919b4ca1cf someip: Fix guint64 printf formats
Use G_GUINT64_FORMAT and remove the format character when printing
unsigned value. Use G_GINT64_MODIFIER when also giving the format
character ('x').

Change-Id: I7c02ec3ebd058c392f8fb21a0e20e242a06e8888
Reviewed-on: https://code.wireshark.org/review/35896
Petri-Dish: Stig Bjørlykke <stig@bjorlykke.org>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-01-22 08:55:49 +00:00
Anders Broman 9084ca2695 geographical_description: Don't mask Orientation of major axis octet 12
Change-Id: I7034cb6304bc7bab5f344b7438ffee6c5ea8844c
Reviewed-on: https://code.wireshark.org/review/35897
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-01-22 08:55:15 +00:00
Guy Harris a152e041fa Put various epoch time deltas into wsutil/epochs.h.
There are some deltas between the UN*X epoch and other epochs that are
used in a number of places; put them into a header.

Change-Id: Ia2d9d69b9d91352d730d97d9e4897518635b4861
Reviewed-on: https://code.wireshark.org/review/35895
Petri-Dish: Guy Harris <guy@alum.mit.edu>
Tested-by: Petri Dish Buildbot
Reviewed-by: Guy Harris <guy@alum.mit.edu>
2020-01-21 23:37:05 +00:00
Peter Wu d44c5e45cb x509af,ocsp,ber: display serialNumber (INTEGER) as bytes
Certificates used in TLS typically have a serial number larger than 64
bits which do not fit in FT_UINT64 and results in use of the synthetic
ber.64bit_uint_as_bytes field name. To enable use of ocsp.serialNumber
and x509af.serialNumber field names, define these as bytes instead.

Update the BER dissector to allow INTEGER types to use FT_BYTES.

Bug: 16339
Change-Id: Id58075b450d86aff6b616c359900ae83a3ec2f51
Reviewed-on: https://code.wireshark.org/review/35868
Petri-Dish: Peter Wu <peter@lekensteyn.nl>
Tested-by: Petri Dish Buildbot
Reviewed-by: Pascal Quantin <pascal@wireshark.org>
Reviewed-by: Peter Wu <peter@lekensteyn.nl>
2020-01-21 22:10:45 +00:00
Pascal Quantin 75e1b69e88 CoAP: change detection logic for CoAP over TCP or TLS
Do not assume that having a TCP port means that CoAP is running directly
over TCP: this is not the case with MQTT for example (see bug 14591 for
a capture). Instead explicitly check that the parent dissector is TCP or
TLS.

Bug: 15910
Change-Id: Ib4880623b8525fe6be52a685397005eac86da135
Reviewed-on: https://code.wireshark.org/review/35879
Petri-Dish: Pascal Quantin <pascal@wireshark.org>
Tested-by: Petri Dish Buildbot
Reviewed-by: Peter Wu <peter@lekensteyn.nl>
2020-01-21 22:09:51 +00:00
Pascal Quantin 3442c76bc5 Windows: fix win32 libilbc package
Change-Id: Ia59556092bce0694ba74a25fb10fdca4ee540a57
Reviewed-on: https://code.wireshark.org/review/35893
Reviewed-by: Pascal Quantin <pascal@wireshark.org>
2020-01-21 21:21:13 +00:00
Guy Harris 3d2ccf4a9e Rename a time variable to reflect its units.
The S/370-and-later TOD clock counts in microseconds, not seconds.

Change-Id: I0b11586df073ed589d69ffc014e6f8661dff3d31
Reviewed-on: https://code.wireshark.org/review/35891
Reviewed-by: Guy Harris <guy@alum.mit.edu>
2020-01-21 20:57:31 +00:00
Guy Harris fc31446277 Add support for "classic Mac OS" timestamps and use them in file-mp4.c.
Those times are in seconds since January 1, 1904, 00:00:00 (proleptic?)
UTC.

MPEG-4 Part 14 (MP4) is based on QuickTime, so it uses classic Mac OS
time stamps, in seconds.

Change-Id: Ibcd7faf1b119d8acbb294c95b66ca0d1fb70cbb3
Reviewed-on: https://code.wireshark.org/review/35886
Petri-Dish: Guy Harris <guy@alum.mit.edu>
Tested-by: Petri Dish Buildbot
Reviewed-by: Guy Harris <guy@alum.mit.edu>
2020-01-21 20:54:25 +00:00
Dario Lombardo 23b91bdcd0 tools: minor changes in bsd-setup script.
Changes:
- use bash
- fix list checks

Change-Id: Idb933155035091974460d6957a9f6a223f6680dc
Reviewed-on: https://code.wireshark.org/review/35872
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Reviewed-by: Dario Lombardo <lomato@gmail.com>
2020-01-21 16:22:43 +00:00
Anders Broman b0c5f2230d Diameter: Fix Location estimate.
- The AVP should be an OctetString
 - Orientation of major axis should not be multiplied by 2 according to
   the latest standard.

Change-Id: I68532108cc36f4699c10b35ffdbcfaef0c29d9fe
Reviewed-on: https://code.wireshark.org/review/35890
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Jaap Keuter <jaap.keuter@xs4all.nl>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-01-21 14:10:35 +00:00
Stig Bjørlykke 1fccffdaea mp4: Fix uint64 printf format
Use G_GUINT64_FORMAT for uint64.

Change-Id: I2c839f1637d088d905c22e615bdf35fe967827d6
Reviewed-on: https://code.wireshark.org/review/35885
Petri-Dish: Stig Bjørlykke <stig@bjorlykke.org>
Tested-by: Petri Dish Buildbot
Reviewed-by: Pascal Quantin <pascal@wireshark.org>
2020-01-21 09:43:39 +00:00
Pascal Quantin ddb547b04e ICMP/ICMPv6: fix request/response tracking for checksum 0x0000
Apply the change proposed by Chris Maynard in
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=16334

Bug: 16334
Change-Id: I91d79d992c107ca4ddaa17c25c3629424cc240f6
Reviewed-on: https://code.wireshark.org/review/35878
Petri-Dish: Pascal Quantin <pascal@wireshark.org>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-01-21 04:46:56 +00:00
Jakub Adam b5ef0847dc mp4: dissect Track Header Box (tkhd) flags
Change-Id: Id1f035ccc571fe29effb8344b05f4b2b564374bb
Reviewed-on: https://code.wireshark.org/review/35876
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-01-21 04:46:24 +00:00
Jakub Adam bd645093e5 mp4: display timestamps in human-readable format
Change-Id: Ic8ef5d835b8263b747c856e7a3c66701547d07e7
Reviewed-on: https://code.wireshark.org/review/35875
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-01-21 04:46:16 +00:00
Dario Lombardo 084a887a30 Fix compilation with gcc-9.
gcc-9 spotted some NULL pointer usages.

Bug: 16319
Change-Id: I3e4ac57705f1852c43299f5e924fc642a2c56a3a
Reviewed-on: https://code.wireshark.org/review/35733
Reviewed-by: Peter Wu <peter@lekensteyn.nl>
Petri-Dish: Peter Wu <peter@lekensteyn.nl>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-01-21 04:44:31 +00:00
Dario Lombardo 567991b8fb toold: add libilbc to bsd-setup.
Change-Id: I471b6936cef3df0ed9aaf6cc4421ac9fa47ad27c
Reviewed-on: https://code.wireshark.org/review/35873
Reviewed-by: Dario Lombardo <lomato@gmail.com>
Reviewed-by: Jirka Novak <j.novak@netsystem.cz>
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-01-20 21:50:54 +00:00
Jirka Novak a47cf5f45d RPM: fixed log sequence
Change-Id: I0d244ff6950961219ea29f7b2c290c483e92bfd3
Reviewed-on: https://code.wireshark.org/review/35877
Petri-Dish: Pascal Quantin <pascal@wireshark.org>
Reviewed-by: Pascal Quantin <pascal@wireshark.org>
2020-01-20 21:29:51 +00:00
Martin Mathieson 8e7432c36a RPC: trivial prettification.
For PortMap replies, don't include port number twice in root item.
For rpc.xid, add long text description.

Change-Id: If6d809b4869762b5e564fab68495ab14df7622e3
Reviewed-on: https://code.wireshark.org/review/35874
Petri-Dish: Martin Mathieson <martin.r.mathieson@googlemail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Martin Mathieson <martin.r.mathieson@googlemail.com>
2020-01-20 16:12:57 +00:00
Alexis La Goutte 6693067290 rtp_play_dialog(.cpp): avoid Dead Store false positive
Value stored to 'left' is never read

Change-Id: I6d1a996427d26a2a16510ed6446749aed23cca39
Reviewed-on: https://code.wireshark.org/review/35871
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-01-20 14:07:43 +00:00
Gerald Combs dd4b562df2 macOS: Add a disk volume icon.
Add a badge icon (custom removable disk icon) for our disk image volume.

Change-Id: If2a88efb76061bbf72ddc9844435429d20da6183
Reviewed-on: https://code.wireshark.org/review/35867
Reviewed-by: Jaap Keuter <jaap.keuter@xs4all.nl>
Petri-Dish: Jaap Keuter <jaap.keuter@xs4all.nl>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-01-20 07:50:46 +00:00
Jeroen Roovers f605e9466b ui: Define plugins_add_description() unconditionally
Since commit 5dfde7ff ("Print extcap plugins with "tshark -G
plugins"."), compiling with -DENABLE_LUA=no -DENABLE_PLUGINS=no fails.
The definition of plugins_add_description() is guarded by HAVE_PLUGINS
|| HAVE_LUA, but that definition is used without such guards for extcap
right below, resulting in:

ui/qt/about_dialog.cpp:137:29: error: 'plugins_add_description' was not
declared in this scope

Fix this by removing the guards around plugins_add_description().

Change-Id: Ieaddfed923ae3782ade28b2f5004b6a34220659a
Fixes: 5dfde7ff83
Reviewed-on: https://code.wireshark.org/review/35852
Reviewed-by: Peter Wu <peter@lekensteyn.nl>
Petri-Dish: Peter Wu <peter@lekensteyn.nl>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-01-20 07:50:37 +00:00
Jeroen Roovers a5abaa81ad CMake: do not check for Qt5Svg at build time
At runtime, the Qt5Svg library is required for displaying language icons
at Preferences. Without this library, these icons will be invisible.
However this does not require a build-time check, so remove it.

Change-Id: I5aaf0282f941513c5e867d8591ddf1916aa408bc
Reviewed-on: https://code.wireshark.org/review/35856
Reviewed-by: Peter Wu <peter@lekensteyn.nl>
Petri-Dish: Peter Wu <peter@lekensteyn.nl>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-01-20 07:50:24 +00:00
Jirka Novak 12a13a6926 RTP: decode iLBC payload
It is possible to decode iLBC payload. It uses libilbc library (https://github.com/TimothyGu/libilbc).

Bug: 16314
Change-Id: Id4cad7ae32305a0e94ef32beb24e07733d7f834e
Reviewed-on: https://code.wireshark.org/review/35686
Reviewed-by: João Valverde <j@v6e.pt>
Petri-Dish: Pascal Quantin <pascal@wireshark.org>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-01-20 07:50:08 +00:00
Jeroen Roovers 7bd57479b6 tfshark: Link against libm
ld: CMakeFiles/tfshark.dir/ui/cli/tap-icmpstat.c.o: undefined reference to
symbol 'sqrt@@GLIBC_2.2.5'

Change-Id: Ifbf49ba00a4246e68c1d3965f0257eca1b4e3ef8
Reviewed-on: https://code.wireshark.org/review/35854
Petri-Dish: Graham Bloice <graham.bloice@trihedral.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Peter Wu <peter@lekensteyn.nl>
2020-01-20 00:25:10 +00:00