diff options
author | Pascal Quantin <pascal.quantin@gmail.com> | 2015-07-17 17:01:27 +0200 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2015-07-22 07:10:10 +0000 |
commit | 6452caa3b3ffe0f72d2a6396d96f0470ceb77671 (patch) | |
tree | e75ce1025539ea5d2f9e013ae0f23b7340b8c137 /wireshark-qt.cpp | |
parent | 32d9a1d714d5d253428a5c3d5450e1d3316a9f16 (diff) |
Fix retrieval of data link type supported by remote interfaces with authentication
Make use of -A parameter when querying data link types supported by a given interface with dumpcap.
Ensure to pass the authentication parameters configured for a remote interface when calling capture_get_if_capabilities()
Bug: 11366
Change-Id: I4efea615084a82108e4a12a64e8c46817f30a5c6
Reviewed-on: https://code.wireshark.org/review/9690
Petri-Dish: Pascal Quantin <pascal.quantin@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'wireshark-qt.cpp')
-rw-r--r-- | wireshark-qt.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/wireshark-qt.cpp b/wireshark-qt.cpp index 28ce67fd2a..6ac94b451c 100644 --- a/wireshark-qt.cpp +++ b/wireshark-qt.cpp @@ -1248,9 +1248,9 @@ DIAG_ON(cast-qual) device = g_array_index(global_capture_opts.all_ifaces, interface_t, i); if (device.selected) { #if defined(HAVE_PCAP_CREATE) - caps = capture_get_if_capabilities(device.name, device.monitor_mode_supported, &err_str, main_window_update); + caps = capture_get_if_capabilities(device.name, device.monitor_mode_supported, NULL, &err_str, main_window_update); #else - caps = capture_get_if_capabilities(device.name, FALSE, &err_str,main_window_update); + caps = capture_get_if_capabilities(device.name, FALSE, NULL, &err_str,main_window_update); #endif if (caps == NULL) { cmdarg_err("%s", err_str); |