path: root/extcap.c
diff options
authorPascal Quantin <pascal.quantin@gmail.com>2015-04-10 19:04:22 +0200
committerPascal Quantin <pascal.quantin@gmail.com>2015-04-13 17:43:40 +0000
commit2e8d8e12cdc490488b8dc221f430f62dc7ad171c (patch)
tree0c09b8c35858424a9a4a60036688f8730decaa51 /extcap.c
parent9ea521532ee7fdf7c8962817592bb3d64723deb6 (diff)
dumpcap: fix opening of pipes on Windows broken since gbed29af
Previous code was assuming that all local pipes were of extcap type. Let's explicitly check for extcap prefix now. Bug: 10803 Change-Id: If955e77a9ee2af11b553740269964c40273d5177 Reviewed-on: https://code.wireshark.org/review/8013 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>
Diffstat (limited to 'extcap.c')
1 files changed, 0 insertions, 3 deletions
diff --git a/extcap.c b/extcap.c
index 82ae1fe8ca..6d9a5e5aed 100644
--- a/extcap.c
+++ b/extcap.c
@@ -62,9 +62,6 @@ static HANDLE pipe_h = NULL;
static GHashTable *ifaces = NULL;
-/* Prefix for the pipe interfaces */
-#define EXTCAP_PIPE_PREFIX "wireshark_extcap"
/* Callback definition for extcap_foreach */
typedef gboolean (*extcap_cb_t)(const gchar *extcap, gchar *output, void *data,
gchar **err_str);