diff options
author | Pascal Quantin <pascal.quantin@gmail.com> | 2015-04-10 19:04:22 +0200 |
---|---|---|
committer | Pascal Quantin <pascal.quantin@gmail.com> | 2015-04-13 17:43:40 +0000 |
commit | 2e8d8e12cdc490488b8dc221f430f62dc7ad171c (patch) | |
tree | 0c09b8c35858424a9a4a60036688f8730decaa51 /extcap.h | |
parent | 9ea521532ee7fdf7c8962817592bb3d64723deb6 (diff) | |
download | wireshark-2e8d8e12cdc490488b8dc221f430f62dc7ad171c.tar.gz wireshark-2e8d8e12cdc490488b8dc221f430f62dc7ad171c.tar.bz2 wireshark-2e8d8e12cdc490488b8dc221f430f62dc7ad171c.zip |
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.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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" |