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.