Wireshark-dev: Re: [Wireshark-dev] [Wireshark-commits] rev 37846: /trunk/ /trunk/: dumpcap.c
From: Guy Harris <guy@xxxxxxxxxxxx>
Date: Fri, 1 Jul 2011 11:41:54 -0700
On Jun 30, 2011, at 1:18 PM, gerald@xxxxxxxxxxxxx wrote:

> http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=37846
> 
> User: gerald
> Date: 2011/06/30 01:18 PM
> 
> Log:
> Log the success or failure of pcap_open/pcap_create/pcap_open_live.

So, err, umm, is WinPcap's pcap_open_live() - well, you probably have a recent version of WinPcap, so it might be pcap_activate() inside pcap_open_live() - hanging, crashing, or *what* when you hand it "-" as an argument?  It *should* just quickly fail, so that dumpcap can fall back on "I guess that's a pipe".