extcap: Create unique pipe names for each interface
authorStig Bjørlykke <stig@bjorlykke.org>
Sat, 19 Aug 2017 21:39:21 +0000 (23:39 +0200)
committerAnders Broman <a.broman58@gmail.com>
Wed, 23 Aug 2017 07:26:18 +0000 (07:26 +0000)
commit45401950257ec58d01efefdbc53149739c7785e4
tree72a2be65add4aa8d63d604b368fe24100570b061
parent5574b78dae2f607d4ace66ab60d516d0c569357d
extcap: Create unique pipe names for each interface

On Windows the pipe names does not get random characters appended.
Add the interface name and pipe type to make it unique.

This partly fixes the issue with capturing from multiple extcap
interfaces on Windows.

Ping-Bug: 13653
Ping-Bug: 13833
Change-Id: I4290b37cf789bf77608993682a803aca29513d28
Reviewed-on: https://code.wireshark.org/review/23158
Petri-Dish: Stig Bjørlykke <stig@bjorlykke.org>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
capchild/capture_sync.c
capture_opts.c
capture_opts.h
extcap.c
extcap.h