Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-dev: Re: [Wireshark-dev] [Wireshark-commits] rev 22071: /trunk/ /trunk/doc/: dumpcap.

From: Gerald Combs <gerald@xxxxxxxxxxxxx>
Date: Mon, 11 Jun 2007 10:23:41 -0700
Bill Meier wrote:
>>  Add a capture_interface_list(), which works similar to
>>  get_interface_list() except that it forks dumpcap instead of calling
>>  the pcap routines directly.  Use it in the GUI.
>>  
>>  Add a "-I" flag to dumpcap, which prints out verbose interface
>>  information.
>>  
>>  Tested under Windows and Linux.
>>
> 
> Seems not to compile on my Windows XP system:
> 
> capture.c(646) : warning C4013: 'getaddrinfo' undefined; assuming extern 
> returning int
> capture.c(648) : error C2037: left of 'ai_family' specifies undefined 
> struct/union 'addrinfo'
> capture.c(652) : error C2037: left of 'ai_addr' specifies undefined 
> struct/union 'addrinfo'
> capture.c(658) : error C2037: left of 'ai_addr' specifies undefined 
> struct/union 'addrinfo'
> capture.c(665) : warning C4013: 'freeaddrinfo' undefined; assuming extern 
> returning int

It compiles in VS2005EE, but not VS6.  I'm working on a fix.