summaryrefslogtreecommitdiff
path: root/extcap.h
diff options
context:
space:
mode:
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.h
parent9ea521532ee7fdf7c8962817592bb3d64723deb6 (diff)
downloadwireshark-2e8d8e12cdc490488b8dc221f430f62dc7ad171c.tar.gz
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.h')
-rw-r--r--extcap.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/extcap.h b/extcap.h
index 66c88664dd..259c088d89 100644
--- a/extcap.h
+++ b/extcap.h
@@ -37,6 +37,9 @@
#ifdef HAVE_EXTCAP
+/* Prefix for the pipe interfaces */
+#define EXTCAP_PIPE_PREFIX "wireshark_extcap"
+
#define EXTCAP_ARGUMENT_CONFIG "--extcap-config"
#define EXTCAP_ARGUMENT_LIST_INTERFACES "--extcap-interfaces"
#define EXTCAP_ARGUMENT_INTERFACE "--extcap-interface"