summaryrefslogtreecommitdiff
path: root/ui/iface_lists.c
diff options
context:
space:
mode:
authorPascal Quantin <pascal.quantin@gmail.com>2015-07-17 17:01:27 +0200
committerAnders Broman <a.broman58@gmail.com>2015-07-22 07:10:10 +0000
commit6452caa3b3ffe0f72d2a6396d96f0470ceb77671 (patch)
treee75ce1025539ea5d2f9e013ae0f23b7340b8c137 /ui/iface_lists.c
parent32d9a1d714d5d253428a5c3d5450e1d3316a9f16 (diff)
downloadwireshark-6452caa3b3ffe0f72d2a6396d96f0470ceb77671.tar.gz
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 'ui/iface_lists.c')
-rw-r--r--ui/iface_lists.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/iface_lists.c b/ui/iface_lists.c
index 2756805a93..8c29dd357e 100644
--- a/ui/iface_lists.c
+++ b/ui/iface_lists.c
@@ -183,7 +183,7 @@ scan_local_interfaces(void (*update_cb)(void))
}
device.type = if_info->type;
monitor_mode = prefs_capture_device_monitor_mode(if_info->name);
- caps = capture_get_if_capabilities(if_info->name, monitor_mode, NULL, update_cb);
+ caps = capture_get_if_capabilities(if_info->name, monitor_mode, NULL, NULL, update_cb);
for (; (curr_addr = g_slist_nth(if_info->addrs, ips)) != NULL; ips++) {
temp_addr = (if_addr_t *)g_malloc0(sizeof(if_addr_t));
if (ips != 0) {