diff options
author | Tomasz Moń <desowin@gmail.com> | 2019-09-11 16:46:00 +0200 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2019-09-23 04:38:00 +0000 |
commit | e52f33f66c979ac493fa738005815bb01d5304a8 (patch) | |
tree | 32a87b0b934f176cd139f6131336713fe505c42a /extcap.c | |
parent | bd439c909045de71f3ab6907ff3f2e74682e7f3a (diff) |
extcap: Multiple extcap instance support on Windows
Wireshark does create named pipes and waits for the child process to
connect. The named pipe server handle is inheritable and thus available
in child dumpcap process. Pass the handle identifier instead of named
pipe name so dumpcap can use it.
Bug: 13653
Change-Id: Id2c019f67a63f1ea3d98b9da2153d6de5078cd01
Reviewed-on: https://code.wireshark.org/review/34503
Petri-Dish: Michael Mann <mmann78@netscape.net>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'extcap.c')
-rw-r--r-- | extcap.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1511,7 +1511,7 @@ static gboolean extcap_create_pipe(const gchar *ifname, gchar **fifo, HANDLE *ha } else { - g_log(LOG_DOMAIN_CAPTURE, G_LOG_LEVEL_DEBUG, "\nWireshark Created pipe =>(%s)", pipename); + g_log(LOG_DOMAIN_CAPTURE, G_LOG_LEVEL_DEBUG, "\nWireshark Created pipe =>(%s) handle (%" G_GUINTPTR_FORMAT ")", pipename, *handle_out); *fifo = g_strdup(pipename); } |