Commit graph

78219 commits

Author SHA1 Message Date
Alexis La Goutte
f505ada1f0 pfcp: fix typo found by lintian
treshold => threshold

Change-Id: I408683aa4943ebffdc53db559ff5fc7f384f35a9
Reviewed-on: https://code.wireshark.org/review/37823
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-07-11 06:03:07 +00:00
Gerald Combs
d0cd357825 Qt: Remove some dead code.
We no longer support Qt 5.2 or earlier.

Change-Id: I94ba6df2120956dadfce407fd999d39250485bc6
Reviewed-on: https://code.wireshark.org/review/37821
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: John Thacker <johnthacker@gmail.com>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-07-11 06:02:28 +00:00
Dario Lombardo
584569932b packet: don't mess up the subdissectors list during optimization.
Bug: 16690
Change-Id: Ie8340dca7bb56d58425985c16a07d0ed6887d03f
Reviewed-on: https://code.wireshark.org/review/37820
Reviewed-by: Martin Mathieson <martin.r.mathieson@googlemail.com>
Petri-Dish: Martin Mathieson <martin.r.mathieson@googlemail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Dario Lombardo <lomato@gmail.com>
2020-07-10 21:24:42 +00:00
Christian Krump
a0b2ff45f5 EPL: use predefined tf strings from tfs.(ch)
predfined tf strings are used for the new introduced ring reduncancy flags

Change-Id: I5273eff410391bf4f104feea8602377698a97c8d
Reviewed-on: https://code.wireshark.org/review/37819
Petri-Dish: Roland Knall <rknall@gmail.com>
Reviewed-by: Christian Krump <christian.krump@br-automation.com>
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Roland Knall <rknall@gmail.com>
2020-07-10 08:52:13 +00:00
Gerald Combs
3b86e04c2d Doc: Have make-authors*.pl explicitly use UTF-8.
Our authors lists and man pages are encoded as UTF-8 and have been for
quite a while. Remove perlnoutf.pl and ensure that standard I/O uses
UTF-8 as described at

https://www.perl.com/pub/2012/05/perlunicook-make-all-io-default-to-utf-8.html/

Change-Id: I7016ec5e3a12934463b43bcfdde2c424069c20ac
Reviewed-on: https://code.wireshark.org/review/37817
Petri-Dish: Gerald Combs <gerald@wireshark.org>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-07-10 06:29:21 +00:00
Nardi Ivan
770872790d Stun: add heuristic over TCP
Change-Id: Id059773a9f9567b1e66935aebafd0c1f73c9f15b
Reviewed-on: https://code.wireshark.org/review/37814
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-07-10 06:28:47 +00:00
vahapemin
734287d6d4 Profinet: ControlBlockProperties Decoded Properly
According to specification, problematic Block Decode
is fixed.

Change-Id: I0d1a13a26771231eb6f05b18325ee2bb94e975bc
Reviewed-on: https://code.wireshark.org/review/37813
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-07-10 06:26:05 +00:00
Peter Wu
1cbaaf3e8d tls: Update list of CT logs to 2020-05-29
Avoid string literals while at it to avoid -Wpointer-sign warnings with
GCC 10. This has the additional benefit of avoiding storing the trailing
NUL byte after the data, resulting in a tiny reduction in binary size.
This compound literal syntax is supported since C99 which is permitted
by doc/README.developer.

Change-Id: I35f4d3a46aa78e12915d92136f1de0891131bede
Reviewed-on: https://code.wireshark.org/review/37818
Petri-Dish: Peter Wu <peter@lekensteyn.nl>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-07-10 05:11:26 +00:00
Anders Broman
5d313ecb2d TDS:Fix -Wpointer-sign warnings.
Change-Id: I230c8a642557181024d4454ce5126bf0a33f4ac2
Reviewed-on: https://code.wireshark.org/review/37811
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-07-09 14:56:34 +00:00
Uli Heilmeier
3526ecd623 BGP: Fix scope for path attribute packet_data
We need wmem_file_scope() to handle path attribute info after
MPLS/VNI label.

Bug: 16678
Change-Id: Ib487b271110c78d2d4ae10f01fc24cda3edc0713
Reviewed-on: https://code.wireshark.org/review/37790
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-07-09 07:24:13 +00:00
Christian Krump
d9f88b3289 EPL: extended decoding of ring redundancy flags
There are some ring redundancy flags available in the SOA frame.
These flags could be interesting for some users and should be decoded.

Bug: 16687
Change-Id: Ica20a9b2a87adf31dca3b064785cdac2e5bc3d2c
Reviewed-on: https://code.wireshark.org/review/37810
Reviewed-by: Christian Krump <christian.krump@br-automation.com>
Petri-Dish: Roland Knall <rknall@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Roland Knall <rknall@gmail.com>
2020-07-09 07:15:00 +00:00
Gerald Combs
455a4794d8 USB: Add a size check.
In dissect_usbpcap_iso_packets check for a sane isochronous packet
count, otherwise we might overflow our data start offset.

Bug: 16677
Change-Id: I79534b4a519eefcf85cf4dd03424ac654bacd8c9
Reviewed-on: https://code.wireshark.org/review/37789
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-07-09 06:20:48 +00:00
Guy Harris
4cf092382d spoolss: pick up what some printer attributes mean from Microsoft documentation.
The page at

https://docs.microsoft.com/en-us/windows/win32/cimwin32prov/win32-printer

lists a number of printer attributes that correspond to the attributes
listed here.

Describe what the hidden attribute means, more clearly describe whta the
enable-devq attribute means, and clean up other descriptions to make
them more stylistically consistent.

Change-Id: I4830df6dc610bce6b7603750d5c4aa73685f6c28
Reviewed-on: https://code.wireshark.org/review/37806
Reviewed-by: Guy Harris <gharris@sonic.net>
2020-07-08 21:31:06 +00:00
Jaap Keuter
5b0adea0b3 Nano: Fix field abbrev
Found by conflict check

Change-Id: Ifdb0a2e5debab8ce8ed13127ea986d15a45e700b
Reviewed-on: https://code.wireshark.org/review/37792
Reviewed-by: Jaap Keuter <jaap.keuter@xs4all.nl>
Petri-Dish: Jaap Keuter <jaap.keuter@xs4all.nl>
Tested-by: Petri Dish Buildbot
Reviewed-by: Guy Harris <gharris@sonic.net>
2020-07-08 20:58:49 +00:00
Jaap Keuter
c9a5557c76 PIM: Fix field abbrev
Found by conflict check

Change-Id: I4fa1ff6da2fb2823ab1f937042c05aada6eb1238
Reviewed-on: https://code.wireshark.org/review/37793
Reviewed-by: Jaap Keuter <jaap.keuter@xs4all.nl>
Petri-Dish: Jaap Keuter <jaap.keuter@xs4all.nl>
Tested-by: Petri Dish Buildbot
Reviewed-by: Guy Harris <gharris@sonic.net>
2020-07-08 20:54:43 +00:00
Guy Harris
fb37407d27 NIS+: give the meanings of the NIS_CALLBACK return value.
From reading GNU libc's .x file for NIS+ (which has an Oracle America
copyright, suggesting that it was originally a file from Sun, and thus
likely to be the official NIS+ rpcgen file), and from reading the way
the GNU libc code treats the return value of the return value of an
NIS_CALLBACK RPC, it appears to be a Boolean where "true" means that the
callback in question is still running and "false" means it's not
running.

Label the results as such.

(I should probably really check the Illumos source to see if it includes
the NIS+ client and server and, if so, read that, so see what Sun's code
did.)

Change-Id: I4eb430dfca3d1162972a2a750effc31f626f20bf
Reviewed-on: https://code.wireshark.org/review/37791
Reviewed-by: Guy Harris <gharris@sonic.net>
2020-07-08 19:52:11 +00:00
Dr. Lars Völker
038161d78e TECMP: Resetting VLAN depth per frame
The current dissector only allows 10 nested vlan tags and stops
dissections, if more are present.
This patch lets the TECMP dissetor reset the VLAN depth for
each embedded Ethernet frame it hands over the Ethernet dissector.

Bug: 16685
Change-Id: I29a726274a01c2ef296d4d1eeaffd6d5960db294
Reviewed-on: https://code.wireshark.org/review/37786
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-07-08 15:27:24 +00:00
Anders Broman
4660a30bab Fix -Wpointer-sign warnings.
Change-Id: I47efaeedc42d60456e9b98b951c75086b102788f
Reviewed-on: https://code.wireshark.org/review/37788
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-07-08 15:26:33 +00:00
Stefan Metzmacher
48630d4742 packet-smb2: correctly dissect SMB2 TRANSFORM_HEADER Flags
In the SMB 3.1.1 dialect, this field is interpreted as the Flags field, which indicates how the SMB2 message was transformed:
    Encrypted 0x0001
    - The message is encrypted using the cipher that was negotiated for this connection.

In the SMB 3.0 and SMB 3.0.2 dialects, this field is interpreted as the EncryptionAlgorithm field,
which contains the algorithm used for encrypting the SMB2 message. This field MUST be set to one of the following values:

    SMB2_ENCRYPTION_AES128_CCM 0x0001
    - The message is encrypted using the AES128 CCM algorithm.

For dissection it's enough to expect SMB 3.1.1, as the value and the meaning
of 0x0001 is always the same (as AES128 CCM was the only possible algorithm before 3.1.1)

Change-Id: I4bd796bd1be38ed4a6481aa7bf68cb5b2e3637d2
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-on: https://code.wireshark.org/review/37785
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
2020-07-08 10:42:08 +00:00
Anders Broman
5b91801a8d value_string: Change the bytes_string struct to avoid Wpointer-sign
Change-Id: Ie9db520f73dbbf61a6aecb37cf5ed8839f3e1052
Reviewed-on: https://code.wireshark.org/review/37770
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-07-08 06:43:55 +00:00
Yann Pomarède
7ed3180a29 ieee80211: add VS SGDSN type 1 message
Bug: 16680
Change-Id: Ia540d252371a045e4d1c0b0e2eb87db8fa21fc31
Reviewed-on: https://code.wireshark.org/review/37681
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
2020-07-08 06:29:00 +00:00
John Thacker
e84d431e39 QT: Don't use qAsConst and C+11 on QT < 5.7
Introduced QT 5.7 calls in my recent change (also C+11, which is
required for QT >= 5.7). Providing an alternate code path for QT < 5.7

Change-Id: I866af35138d4691a659aee756ce9c3ce4ffb933f
Reviewed-on: https://code.wireshark.org/review/37779
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
2020-07-08 05:51:06 +00:00
Pascal Quantin
416ccd18c4 E212: allow to decode 5 digits long short IMSI used in MAP messages
Bug: 16676
Change-Id: I8ba5bce3ec3a63f3c95ebb58ffdbe54d3546a96a
Reviewed-on: https://code.wireshark.org/review/37775
Reviewed-by: Pascal Quantin <pascal@wireshark.org>
Petri-Dish: Pascal Quantin <pascal@wireshark.org>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-07-08 05:11:13 +00:00
Jaap Keuter
570b9ffe7b UMTS_RLC: Rename rlc.ciphered_data expert item
Found by conflict check

Change-Id: I98e5fd7d5b894a27aa07055a6bfa6735c4e4df79
Reviewed-on: https://code.wireshark.org/review/37774
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-07-08 05:10:51 +00:00
Jaap Keuter
e566c615f0 NIS+: Make true_false string differentiating
Found by conflict check

Change-Id: I51ba81592aa0779f45f26fc4a89215051245c328
Reviewed-on: https://code.wireshark.org/review/37772
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-07-08 05:10:28 +00:00
Gerald Combs
af6140d643 Test: Remove an unused routine.
dump_failed_output didn't do anything, so remove it.

Change-Id: If2c1c48ff38987bcd535e95585784eb9981a0f4e
Reviewed-on: https://code.wireshark.org/review/37752
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-07-08 05:08:23 +00:00
Gerald Combs
f0d456bf2d cppcheck: Fixup some comparisons.
Change-Id: I6901c31cdea7399bc18dbf968c14c477f71a90dd
Reviewed-on: https://code.wireshark.org/review/37777
Petri-Dish: Gerald Combs <gerald@wireshark.org>
Reviewed-by: Martin Mathieson <martin.r.mathieson@googlemail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Gerald Combs <gerald@wireshark.org>
2020-07-08 01:56:18 +00:00
Anders Broman
1484c1e7f6 Fix Wpointer-sign warnings.
Change-Id: Ia51998293b967f363856d2b9ac92f498a9f54d76
Reviewed-on: https://code.wireshark.org/review/37769
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-07-07 18:42:07 +00:00
Gerald Combs
e9a21e9f41 cppcheck: Bail if "-l <n>" or "-o" don't find any files.
If we've been passed "-l <n>" and the last <n> commits don't match any C
or C++ files or we've been passed "-o" and no files have been changed,
simply exit instead of testing the entire code base. We use "cppcheck.sh
-l <n>" in our CI system and the former behavior is much more useful
(and faster) than the latter.

Change-Id: I1127eabefa854d68f80b0a2dfd05e6895658abc0
Reviewed-on: https://code.wireshark.org/review/37773
Reviewed-by: Gerald Combs <gerald@wireshark.org>
Petri-Dish: Gerald Combs <gerald@wireshark.org>
Reviewed-by: Martin Mathieson <martin.r.mathieson@googlemail.com>
2020-07-07 18:18:45 +00:00
Filipe Laíns
3c37494ea6 USB HID: fix memory leak when saving report descriptors
Change-Id: I5cb5598be557823cf3b39cda30bed6febee297d3
Signed-off-by: Filipe Laíns <lains@archlinux.org>
Reviewed-on: https://code.wireshark.org/review/37561
Petri-Dish: Tomasz Moń <desowin@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Tomasz Moń <desowin@gmail.com>
2020-07-07 14:46:37 +00:00
Anders Broman
2b7975db54 Fix Wpointer-sign warnings.
Change-Id: I69a266bc945441bc9351b97bd1de0af7f9be46a0
Reviewed-on: https://code.wireshark.org/review/37768
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-07-07 12:16:46 +00:00
Anders Broman
8a4e53cbed Fix -Wpointer-sign warnings.
Change-Id: Ide037ee1d2f9e52cb024f7335154e12ce09ac010
Reviewed-on: https://code.wireshark.org/review/37767
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-07-07 09:50:35 +00:00
Anders Broman
dc42e2b1cb file-rbm: Fix -Wpointer-sign warnings.
Change-Id: I53e84e172e1c03849158ba6df83aa2ff9cfb3054
Reviewed-on: https://code.wireshark.org/review/37766
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-07-07 08:41:54 +00:00
Guy Harris
6f52f969d8 tn3270: improve on some of IBM's painful prose.
The "true" string in a struct true_false_string is used only if the bit
is set to 1, so "if set to logic 1" is redundant.  Just have the strings
say, respectively, what significance the bit being on ("set to logic 1")
has and what signficance the bit being off ("set to logic 0") has.

Use active voice.

Change-Id: If1fe7b35a0c85dcdb40ac348ca23a0ac5e3dc1da
Reviewed-on: https://code.wireshark.org/review/37753
Reviewed-by: Jaap Keuter <jaap.keuter@xs4all.nl>
Reviewed-by: Guy Harris <gharris@sonic.net>
2020-07-07 06:45:19 +00:00
Filipe Laíns
86c27cc1c0 USB HID: fix parsing {logical ,phys }{min,max} in the report descriptor
Right now, for eg., a -32767/32767 min/max gets dissected as 0/1 which
is wrong.

Change-Id: Iffc649e0af4490827e722cae7f692ec4d0c245b8
Signed-off-by: Filipe Laíns <lains@archlinux.org>
Reviewed-on: https://code.wireshark.org/review/37751
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Tomasz Moń <desowin@gmail.com>
2020-07-07 06:15:04 +00:00
Filipe Laíns
2d49ab3d25 USB HID: introduce a report descriptor parser
Change-Id: Ief63059fc5009cf8eff903d14d1c4dd2f35728b6
Signed-off-by: Filipe Laíns <lains@archlinux.org>
Reviewed-on: https://code.wireshark.org/review/37559
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Tomasz Moń <desowin@gmail.com>
2020-07-07 06:14:32 +00:00
Gerald Combs
9c53ac0187 extcap: Lazily load our interface list.
Add extcap_ensure_all_interfaces_loaded, which calls
extcap_load_interface_list if our interface list is empty. Call it in
each of our public functions that require a valid interface list.

Clean up the extcap API documentation and note which routines initialize
the interface list.

In tshark, don't unconditionally call extcap_register_preferences and
instead rely on lazy loading.

Change-Id: I8493ae5f4d703b0fd767246557d17723bcf207c6
Ping-Bug: 15295
Reviewed-on: https://code.wireshark.org/review/37750
Petri-Dish: Gerald Combs <gerald@wireshark.org>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-07-07 05:28:29 +00:00
Jaap Keuter
45378647d7 TDS: Fix field abbrev for RPC name
Found by conflict check

Change-Id: Id37c53cbfb9df796c609e602c6edc0f0940bf80c
Reviewed-on: https://code.wireshark.org/review/37745
Reviewed-by: Jaap Keuter <jaap.keuter@xs4all.nl>
Petri-Dish: Jaap Keuter <jaap.keuter@xs4all.nl>
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-07-06 21:37:20 +00:00
Jaap Keuter
3bdf657706 SPOOLSS: make reserved field value presentation meaningful
Detected by conflict check

Change-Id: Ie534564085884afd6f7c9329b6ee637440533f29
Reviewed-on: https://code.wireshark.org/review/37738
Reviewed-by: Jaap Keuter <jaap.keuter@xs4all.nl>
Petri-Dish: Jaap Keuter <jaap.keuter@xs4all.nl>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-07-06 21:36:30 +00:00
Jaap Keuter
620b8b3c71 TN5250: Fix two true_false strings so they are differentiating
Found by conflict check

Change-Id: Ic0348945b8519bc434bc5a10b5ed5951a7cdcb21
Reviewed-on: https://code.wireshark.org/review/37746
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-07-06 21:35:51 +00:00
Jaap Keuter
c45aba408d BSSAP: Fix field abbrev for IMEISV IE
Found by conflict check

Change-Id: Id14d12543902d75ae54b5b3944a44b63321dc479
Reviewed-on: https://code.wireshark.org/review/37747
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-07-06 21:35:28 +00:00
Anders Broman
6a5dba8b1e file-pcapng: Try to fix -Wpointer-sign warnings.
Change-Id: I66f6e26080926f8bb0a4ac84a42963de61604194
Reviewed-on: https://code.wireshark.org/review/37743
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-07-06 20:40:32 +00:00
Gerald Combs
30f8f9656b epan: Fixup our ENABLE_CHECK_FILTER warnings.
Make sure we use g_warning to print each ENABLE_CHECK_FILTER warning.
g_warning automatically appends a newline, so there's no need for us to
do so.

Change-Id: I4ddb60f0e3e0382fb3ca6e996ad47410fe05d8be
Reviewed-on: https://code.wireshark.org/review/37748
Reviewed-by: Gerald Combs <gerald@wireshark.org>
Petri-Dish: Gerald Combs <gerald@wireshark.org>
Tested-by: Petri Dish Buildbot
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
2020-07-06 18:42:07 +00:00
Martin Mathieson
4b4bbe8067 DVB-S2-BB: Add the next-header protocol types from RFC4326, section 4.4.1
Change-Id: Ieb35ffb94a0e3c2f27768cefce91e0c93619ff94
Reviewed-on: https://code.wireshark.org/review/37733
Petri-Dish: Martin Mathieson <martin.r.mathieson@googlemail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-07-06 17:24:28 +00:00
Anders Broman
475cba7e6b mbim: Try to fix -Wpointer-sign warnings.
Change-Id: I56eccab845dae0bb903ee052130bb3ac00dba863
Reviewed-on: https://code.wireshark.org/review/37744
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-07-06 17:22:10 +00:00
Gerald Combs
4dc3114c05 Windows: Set our locale to ".UTF-8".
In each of our executables we were calling "setlocale(LC_ALL, "")" at
startup. This told Windows that output was encoded using the current
system code page. Unless the code page was 65001 (UTF-8), this was a lie.

We write UTF-8 to stdout and stderr, so call "setlocale(LC_ALL, ".UTF-8)"
at startup on Windows. This lets the CRT translate our output correctly
in more cases.

Clarify and expand the OUTPUT section in the tshark man page.

Bug: 16649
Change-Id: If93231fe5b332c292946c7f8e5e813e2f543e799
Reviewed-on: https://code.wireshark.org/review/37560
Petri-Dish: Gerald Combs <gerald@wireshark.org>
Tested-by: Petri Dish Buildbot
Reviewed-by: Gerald Combs <gerald@wireshark.org>
2020-07-06 16:20:25 +00:00
Alexis La Goutte
0d7d7fe3c6 rtps-utils: fix no previous prototype for functio
packet-rtps-utils.c:85:6: warning: no previous prototype for ‘dissect_mutable_member’ [-Wmissing-prototypes]

Change-Id: Id87118f36e50db8bf4a27ca021bbceae220034d4
Reviewed-on: https://code.wireshark.org/review/37742
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-07-06 15:24:11 +00:00
Anders Broman
53b0b25661 nfapi: Try to fix -Wpointer-sign warnings.
Change-Id: I71dadf67fc2c096001af6711650261336729d5b9
Reviewed-on: https://code.wireshark.org/review/37737
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-07-06 14:54:25 +00:00
Alexis La Goutte
64b7bb05d4 http2: fix no previous prototype for functio
packet-http2.c:285:6: warning: no previous prototype for ‘decode_as_http2_populate_list’ [-Wmissing-prototypes]

Change-Id: Ife66469b7016437c1e2b6d41df99571e73159851
Reviewed-on: https://code.wireshark.org/review/37741
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-07-06 14:50:54 +00:00
Alexis La Goutte
fc3a9d3328 enip: fix no previous prototype for function
packet-enip.c:1102:19: warning: no previous prototype for ‘create_connection_id_list’ [-Wmissing-prototypes]

Change-Id: I6e0caa29f5617a5688cddaa4d8001a260228294e
Reviewed-on: https://code.wireshark.org/review/37740
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-07-06 14:50:14 +00:00