From 6452caa3b3ffe0f72d2a6396d96f0470ceb77671 Mon Sep 17 00:00:00 2001 From: Pascal Quantin Date: Fri, 17 Jul 2015 17:01:27 +0200 Subject: 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 Tested-by: Petri Dish Buildbot Reviewed-by: Pascal Quantin Reviewed-by: Anders Broman --- caputils/capture_ifinfo.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'caputils/capture_ifinfo.h') diff --git a/caputils/capture_ifinfo.h b/caputils/capture_ifinfo.h index 4293b816b1..16ae28fd51 100644 --- a/caputils/capture_ifinfo.h +++ b/caputils/capture_ifinfo.h @@ -114,7 +114,8 @@ typedef struct { * Fetch the linktype list for the specified interface from a child process. */ extern if_capabilities_t * -capture_get_if_capabilities(const char *devname, gboolean monitor_mode, +capture_get_if_capabilities(const gchar *devname, gboolean monitor_mode, + const gchar *auth_string, char **err_str, void (*update_cb)(void)); void free_if_capabilities(if_capabilities_t *caps); -- cgit v1.2.3