Commit Graph

61851 Commits

Author SHA1 Message Date
Pascal Quantin 1b1b93429a M3AP: fix dissection of IPAddress field
Bug: 12070
Change-Id: Ib516cc3ea7e00a6c4fe1661b9c78b0f6c6a25da6
Reviewed-on: https://code.wireshark.org/review/13689
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: Anders Broman <a.broman58@gmail.com>
2016-02-03 17:48:40 +00:00
richardk 0421e78988 Fixed bug when the actual remaining command data is less than the size
specified in the EtherCAT mailbox header.

Change-Id: I661c62af915b9455da1df49f5746953d41dc527a
Reviewed-on: https://code.wireshark.org/review/13595
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2016-02-03 14:51:19 +00:00
João Valverde ff07bd4562 No need for execute bit on setuid-root.pl.in
Change-Id: I099fbd73b5a192375c8b99f0997c7074c97d0cb9
Reviewed-on: https://code.wireshark.org/review/13673
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2016-02-03 14:49:08 +00:00
Alexis La Goutte ca13f64162 OpenFlow (v1): fix exists multiple times with NOT compatible types
'openflow.ofp_match.pad' exists multiple times with NOT compatible types: FT_UINT16 and FT_BYTES

Change-Id: I514bdf6a77ddbf9f8d7e614ea6f4ecf04a664453
Reviewed-on: https://code.wireshark.org/review/13677
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2016-02-03 14:47:10 +00:00
Alexis La Goutte a3f23d9a10 MPLS : fix exists multiple times with NOT compatible types
'ospf.mpls.bc' exists multiple times with NOT compatible types: FT_FLOAT and FT_UINT8
'ospf.v3.lsa.link_local_interface_address.ipv6' exists multiple times with NOT compatible types: FT_IPv4 and FT_IPv6

Change-Id: I6a014c072c05bdb30ae30d56a6718062fccc75c7
Reviewed-on: https://code.wireshark.org/review/13681
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2016-02-03 13:06:19 +00:00
Alexis La Goutte 0ce188a9eb HTTP2: fix 'http2' exists multiple times with NOT compatible types: FT_NONE and FT_PROTOCOL
Change-Id: I5cb75b253c908994420107330743e808f57af2a4
Reviewed-on: https://code.wireshark.org/review/13676
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2016-02-03 13:04:56 +00:00
Alexis La Goutte 91613a04db pcapng (dissector): fix 'pcapng.options.option.data.ipv4' exists multiple times with NOT compatible types: FT_IPv6 and FT_IPv4
Change-Id: I9f6e713a50e0c73d0ecc7a66b62dffe270d4a35f
Reviewed-on: https://code.wireshark.org/review/13678
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2016-02-03 13:03:50 +00:00
Alexis La Goutte d8e276883f CAPWAP: fix 'capwap.control.fortinet.ebptag.ebp' exists multiple times with NOT compatible types: FT_ETHER and FT_UINT8
Change-Id: I844ffef50c69f06dca06569851fafe008ccc4971
Reviewed-on: https://code.wireshark.org/review/13679
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2016-02-03 13:02:48 +00:00
Alexis La Goutte e9fc9c4506 MS NLB: fix msnlb.reserved' exists multiple times with NOT compatible types: FT_NONE and FT_BYTES
Change-Id: Iff719dce3340c11b7fb874f323eedc0401096262
Reviewed-on: https://code.wireshark.org/review/13682
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2016-02-03 12:42:49 +00:00
Alexis La Goutte a57c3bcc87 suite-decrypt: fix mixed indent (use tabs)
Change-Id: I80f2afb6e0cc44af6466fa255e91a40b29c4ca13
Reviewed-on: https://code.wireshark.org/review/13685
Reviewed-by: cedric izoard <cedric.izoard@ceva-dsp.com>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2016-02-03 12:38:21 +00:00
Alexis La Goutte a47c850d50 suite-mergecap: fix indent (use tabs)
Change-Id: I9b3fb7d09d8dc90366167b1072dcdd4efc6f0516
Reviewed-on: https://code.wireshark.org/review/13684
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2016-02-03 12:36:46 +00:00
Alexis La Goutte 05384709a0 Suite test: fix modelines for bash script (emac)
c-basic-offset -> sh-basic-offset

Change-Id: I16b19b608fbdb7f0408f7c31871fae746c8c4f50
Reviewed-on: https://code.wireshark.org/review/13683
Reviewed-by: cedric izoard <cedric.izoard@ceva-dsp.com>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2016-02-03 12:35:30 +00:00
Gloria Pozuelo 2e84d20018 GTP session tracker removing frame info fix
Change-Id: I55e4a7a70e61d2178ee75dfeb3a201de8b12e34d
Reviewed-on: https://code.wireshark.org/review/13686
Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
2016-02-03 09:47:19 +00:00
João Valverde eeafb47a12 Fix Qt4 moc option argument and add build parametrization
Change-Id: Ib758f0eabaf96f9c6010201e7e16147fcfa0daa2
Reviewed-on: https://code.wireshark.org/review/13671
Petri-Dish: João Valverde <j@v6e.pt>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Michal Labedzki <michal.labedzki@tieto.com>
Tested-by: Michal Labedzki <michal.labedzki@tieto.com>
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
2016-02-03 09:10:20 +00:00
Simon Barber 640209215e Adds calculation of preamble length and frame duration.
Change-Id: Ie7077b675a242a60ee859098a504707cc61345db
Reviewed-on: https://code.wireshark.org/review/13090
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Guy Harris <guy@alum.mit.edu>
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
2016-02-03 05:58:05 +00:00
Jason Heimann 8dd13f4520 THRIFT: add dissection of T_MAP
Change-Id: I58192af77c8e9af94183e5d82d282e22dc91b49e
Reviewed-on: https://code.wireshark.org/review/13659
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: Anders Broman <a.broman58@gmail.com>
2016-02-03 05:49:23 +00:00
Michael Mann 9c846024fd Pass smb2_info_t structure to heuristic subdissectors.
Bug: 11933
Change-Id: I7ac03166c4c69a2366da26c44a89aee60116ac7f
Reviewed-on: https://code.wireshark.org/review/13674
Petri-Dish: Michael Mann <mmann78@netscape.net>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Michael Mann <mmann78@netscape.net>
2016-02-03 01:13:50 +00:00
João Valverde 59b5609624 lemon: Use automake rules
Change-Id: I5110e3781682e003cc4e60a592694dc9e8930456
Reviewed-on: https://code.wireshark.org/review/13641
Petri-Dish: João Valverde <j@v6e.pt>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Gerald Combs <gerald@wireshark.org>
Reviewed-by: Michael Mann <mmann78@netscape.net>
2016-02-03 00:07:42 +00:00
Francesco Fondelli dfc9f0b038 BGP-LS: fix 'TE Default Metric TLV' and 'IGP Metric TLV' length
parsing

Change-Id: I55d0b435ae1b12e14a20dd9ea18ba05188b0e378
Signed-off-by: Francesco Fondelli <francesco.fondelli@gmail.com>
Reviewed-on: https://code.wireshark.org/review/13666
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>
2016-02-02 22:59:24 +00:00
João Valverde effc85320d Remove GNU make extension
Only marginally useful in this case.

Change-Id: I62eace56128b10f409b6139599f098e6604675cd
Reviewed-on: https://code.wireshark.org/review/13672
Reviewed-by: João Valverde <j@v6e.pt>
2016-02-02 22:31:49 +00:00
Pascal Quantin fd52f92947 Update list of field types compatible for comparisons
Change-Id: Ic356773f780b88f0a7d8735167dec240fa5bdbc2
Reviewed-on: https://code.wireshark.org/review/13670
Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
2016-02-02 22:04:00 +00:00
Guy Harris 818c274721 HiQnet parameters and Wireshark fields have data types; use them.
Don't just display every field that's not a STRING as a lump of hex
bytes; display them (and make them filterable) according to their data
type.

Change-Id: I5717c45bc970616ba9438277e1bcaae46c3cbdf8
Reviewed-on: https://code.wireshark.org/review/13669
Reviewed-by: Guy Harris <guy@alum.mit.edu>
2016-02-02 19:55:12 +00:00
Gerald Combs 8834e8f894 Display Filter Expression dialog updates.
De Morganize an expression.

Clear the selection at start. Selecting the first item (104apci) seems
to confuse people.

Change-Id: I8fcd1f068f1801042a2658940175b46bdfb2b462
Reviewed-on: https://code.wireshark.org/review/13647
Petri-Dish: Gerald Combs <gerald@wireshark.org>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Gerald Combs <gerald@wireshark.org>
2016-02-02 16:51:00 +00:00
Martin Kaiser 6641987c89 usb: don't THROW() an exception from a dissector
the code in question deals with the scenario where the length field's
value is larger than the number of remaining bytes

we can simply stop the dissection if truncation of the data is expected

if not, we continue disecting and we'll get an exception when we reached
the end of the data...

Change-Id: I3f29df694d9ea7d41f19511d267ef6b785527e3c
Reviewed-on: https://code.wireshark.org/review/13624
Reviewed-by: Martin Kaiser <wireshark@kaiser.cx>
2016-02-02 16:44:21 +00:00
AndersBroman cb241e95db [GSM MAP] Update to V13.2.0 (2015-12)
Change-Id: I2cc8b1c4094f2781c7674a22836ec8de4e24ca0d
Reviewed-on: https://code.wireshark.org/review/13665
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2016-02-02 16:26:01 +00:00
Stig Bjørlykke 07ef89691c prefs: Add missing newline for filter expressions heading
Change-Id: I005904ffddf4542248c1994a0786340383b62192
Reviewed-on: https://code.wireshark.org/review/13660
Reviewed-by: Stig Bjørlykke <stig@bjorlykke.org>
2016-02-02 11:20:03 +00:00
Alexis La Goutte a0722e3b9a GTP: Fix Dereference of null pointer found by Clang analyzer
Change-Id: Idfa4d114f39c3fe9a84f9b551488127c51aa66aa
Reviewed-on: https://code.wireshark.org/review/13621
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Reviewed-by: Gloria Pozuelo <gloria.pozuelo@bics.com>
Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
2016-02-02 08:25:31 +00:00
Alexis La Goutte 90d63e37ba frame: Fix Dereference of null pointer found by Clang analyzer
Change-Id: I37323975c1fa4ba5c08afb73d72159c7c36fdb9a
Reviewed-on: https://code.wireshark.org/review/13623
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Reviewed-by: Evan Huus <eapache@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2016-02-02 05:28:45 +00:00
Alexis La Goutte 130ea46be5 QUIC: fix some display field typo...
Change-Id: I5dbfe657db29b131b2ed5c6233becbc4f328157f
Reviewed-on: https://code.wireshark.org/review/13645
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2016-02-02 05:25:21 +00:00
Alexis La Goutte f3b660dab0 proto.c: fix indent (use tabs)
Change-Id: I1ebd31a694fde845e1ca4e125c1ed31bda7c00a8
Reviewed-on: https://code.wireshark.org/review/13646
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2016-02-02 05:23:13 +00:00
AndersBroman f80e9df793 Create an extended converstaion hastable taking more address information
into consideration.
This makes it possible to differentiate between packets on different
vlans and can be expanded to handle tunnels.

Change-Id: Id36e71028702d1ba4b6b3047e822e5a62056a1e2
Reviewed-on: https://code.wireshark.org/review/13637
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2016-02-02 05:15:55 +00:00
Guy Harris 872f8b4582 Add to the Info column for the stuff in COTP CR and CC PDUs.
Change-Id: I581ce1e670c3e1e13a871d3111335e3647165d49
Reviewed-on: https://code.wireshark.org/review/13658
Reviewed-by: Guy Harris <guy@alum.mit.edu>
2016-02-02 05:02:14 +00:00
Guy Harris c599cd7b0b Add proto_tree_add_item_ret_string() routine.
It adds string-type fields to the protocol tree and returns the value of
the string.

Add the new bitmask-adding routines to the Debian symbol list while
we're at it.

Change-Id: Idaeec44c9cd373588cadce85010f3eaf1f3febb5
Reviewed-on: https://code.wireshark.org/review/13657
Reviewed-by: Guy Harris <guy@alum.mit.edu>
2016-02-02 04:57:28 +00:00
João Valverde cd7daa77d9 Qt: Make moc less chatty
Change-Id: Ide644647271663517ddc6a84ffe61d58dabd6bd2
Reviewed-on: https://code.wireshark.org/review/13629
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: Gerald Combs <gerald@wireshark.org>
2016-02-02 00:57:11 +00:00
João Valverde b5ff79e80b Add silent build rules for setuid-root.pl
Change-Id: Id99c8d545b8ae53cf4dac0ccf54226df07f596bd
Reviewed-on: https://code.wireshark.org/review/13627
Petri-Dish: João Valverde <j@v6e.pt>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Gerald Combs <gerald@wireshark.org>
2016-02-02 00:55:01 +00:00
Gerald Combs 5cad2cd09b Add configure-time synchronous DNS warnings.
In CMake and Autotools, warn the user when neither c-ares nor ADNS is
present. Note that we might want to make asynchronous DNS a requirement.

Change-Id: Ia9cce56cc2286cdc72303fc1410f899f9c320d84
Reviewed-on: https://code.wireshark.org/review/13080
Petri-Dish: Gerald Combs <gerald@wireshark.org>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Gerald Combs <gerald@wireshark.org>
2016-02-02 00:27:42 +00:00
Guy Harris 8294e773b0 Quick fix for the build.
(The routing token/cookie needs to be dissected better.)

Change-Id: I33464a846cda711aa430ba8f71dfe1959de3b7f9
Reviewed-on: https://code.wireshark.org/review/13651
Reviewed-by: Guy Harris <guy@alum.mit.edu>
2016-02-01 23:51:39 +00:00
Guy Harris 4a5a96c277 Get rid of unused redundant OSI COTP dissector.
packet-ositp.c is more complete and is what's used, so we don't need
packet-x224.c.

Change-Id: Id3409d7b2af0e4ecbc64c74bb6d1ed9ea8f31738
Reviewed-on: https://code.wireshark.org/review/13650
Reviewed-by: Guy Harris <guy@alum.mit.edu>
2016-02-01 23:35:48 +00:00
Guy Harris 0969953812 Remove trailing whitespace.
Change-Id: I3a684d47fe0263dc1453eab85704e725bab673a5
Reviewed-on: https://code.wireshark.org/review/13649
Reviewed-by: Guy Harris <guy@alum.mit.edu>
2016-02-01 23:22:01 +00:00
Guy Harris b9fb2ceb88 Add heuristic dissectors for the variable part of COTP CR and CC PDUs.
Add tables for heuristic dissectors, and add dissectors for the stuff
Microsoft puts there for RDP; they're violating the COTP spec, but I
guess they're stuck because they're using TP0, which doesn't support
user data.

While we're at it, add variants of proto_tree_add_bitmask() and
proto_tree_add_bitmask_flags() that return the bitmask, for use by
callers.

A side-effect of the change is that the proto_tree_add_bitmask routines
no longer treat the encoding as a Boolean, so we have to pass
ENC_LITTLE_ENDIAN or ENC_BIG_ENDIAN, not just some non-zero or zero
value.  Do so.

Rename ositp_decode_CC() to ositp_decode_CR_CC(), to note that it
decodes both CR and CC PDUs.

Bug: 2626
Change-Id: If5fa2a6dfecd9eb99c1cb8104f2ebceccf1e57c2
Reviewed-on: https://code.wireshark.org/review/13648
Reviewed-by: Guy Harris <guy@alum.mit.edu>
2016-02-01 23:20:12 +00:00
Mikael Kanstrup a53ab9dfcc Fix leaks when spawning extcap processes
Valgrind reports leaks like these when spawning extcap processes (for
example when displaying or refreshing interface list with extcap
interfaces present):

3,917 (464 direct, 3,453 indirect) bytes in 29 blocks are definitely lost in loss record 58,301 of 58,638
   at 0x4C2AB80: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0xA6D2610: g_malloc (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.4002.0)
   by 0xA6E822D: g_slice_alloc (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.4002.0)
   by 0xA6B913B: g_error_new_valist (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.4002.0)
   by 0xA6B94ED: g_set_error (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.4002.0)
   by 0xA710B03: ??? (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.4002.0)
   by 0xA710E17: g_spawn_sync (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.4002.0)
   by 0x44C677: extcap_foreach (extcap.c:199)
   by 0x44CCAD: extcap_interface_list (extcap.c:413)
   by 0x72B548: capture_interface_list (capture_ifinfo.c:126)
   by 0x7336FA: scan_local_interfaces (iface_lists.c:141)
   by 0x55F01F: WiresharkApplication::refreshLocalInterfaces() (wireshark_application.cpp:898)
   ...

Change-Id: If8f750f5f8fa42a6f0884bb0e6bbbd71bd8f68aa
Reviewed-on: https://code.wireshark.org/review/13631
Petri-Dish: Roland Knall <rknall@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Roland Knall <rknall@gmail.com>
2016-02-01 20:36:37 +00:00
Alexis La Goutte 14d6c205bd main_toolbar: fix redundant redeclaration of ‘cfile’ [-Wredundant-decls]
Change-Id: I25d88852f87fdd8f760f29f9e5fdeb7a63391b87
Reviewed-on: https://code.wireshark.org/review/13636
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: João Valverde <j@v6e.pt>
2016-02-01 19:37:33 +00:00
Pascal Quantin b0a8347f42 pre-commit: ignore ASN.1 template files
They trigger false positives

Change-Id: I0cc22e0600461475e67610ac7e9dc687822c87f2
Reviewed-on: https://code.wireshark.org/review/13639
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
2016-02-01 19:37:05 +00:00
Pascal Quantin 2bf4b357b1 PIM: fix IPv4/IPv6 filters using the same name for different address type
Bug: 12061
Change-Id: I42828e1f87abebd6d9a4f893ff28aa50ca7ccbff
Reviewed-on: https://code.wireshark.org/review/13640
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: Alexis La Goutte <alexis.lagoutte@gmail.com>
2016-02-01 18:36:19 +00:00
Francesco Fondelli c7798d608c BGP: Link-State extensions for Segment Routing as per
draft-gredler-idr-bgp-ls-segment-routing-ext-01

Bug: 12060
Change-Id: I53c837ac5c195bdee716a48d8494633b663e751d
Signed-off-by: Francesco Fondelli <francesco.fondelli@gmail.com>
Reviewed-on: https://code.wireshark.org/review/13579
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
2016-02-01 17:48:45 +00:00
Pascal Quantin 24fb4c50c7 LTE RRC: add system info modification for eDRX UEs in info column
Change-Id: I8041bf74c37665f1fd70f0d8c39157e09f79d96c
Reviewed-on: https://code.wireshark.org/review/13638
Petri-Dish: Pascal Quantin <pascal.quantin@gmail.com>
Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
2016-02-01 17:21:01 +00:00
Stig Bjørlykke 8e5272a969 IP: Don't check length if in a ICMP error packet
Change-Id: I5fd81aec13655b9c53df9f0002441c3afc51c6e9
Reviewed-on: https://code.wireshark.org/review/13597
Petri-Dish: Jaap Keuter <jaap.keuter@xs4all.nl>
Reviewed-by: Jaap Keuter <jaap.keuter@xs4all.nl>
Tested-by: Jaap Keuter <jaap.keuter@xs4all.nl>
2016-02-01 16:38:21 +00:00
Alexis La Goutte 98fc6c6cd1 btatt: Fix Dereference of null pointer found by Clang analyzer
Change-Id: I3c55af73ba989080cf6dfe206d25a6d4923ac7f1
Reviewed-on: https://code.wireshark.org/review/13622
Reviewed-by: Michal Labedzki <michal.labedzki@tieto.com>
Petri-Dish: Michal Labedzki <michal.labedzki@tieto.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Michael Mann <mmann78@netscape.net>
2016-02-01 13:33:43 +00:00
Roland Knall 71a21d79cf extcap: Correct save for file arguments
Also add check to has_configuration

Change-Id: Ia0ffbd3bf68ad51c26bc75b5ee179db179e22bd4
Reviewed-on: https://code.wireshark.org/review/13635
Reviewed-by: Roland Knall <rknall@gmail.com>
2016-02-01 12:14:44 +00:00
Roland Knall 927ffaa794 extcap: Add Save functionality to options dialog
This patch creates the functionality of saving all parameters
for extcap devices in the general preference section.

For now, multiselect and fileselect do not save their values
but patches for this will be provided in the future

Also, all preferences are stored as strings to make handling
easier. This might change in the future, but for the first version
it will stick.

Restore to Defaults is not implemented as of yet, and will be
in a future version, once the preference storing is finalized

Bug: 11666
Change-Id: I178346405146d2e43f4f3481c05c92c0b3595af5
Reviewed-on: https://code.wireshark.org/review/13451
Petri-Dish: Roland Knall <rknall@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Roland Knall <rknall@gmail.com>
2016-02-01 12:12:41 +00:00