Wireshark

  • Riverbed Technology
  • WinPcap
the world's foremost network protocol analyzer
  • Wireshark
    • About
    • Download
    • Blog
  • Get Help
    • Ask a Question
    • FAQs
    • Documentation
    • Mailing Lists
    • Online Tools
    • Wiki
    • Bug Tracker
  • Develop
    • Get Involved
    • Developer's Guide
    • Browse the Code
    • Latest Builds

Wireshark-dev: Re: [Wireshark-dev] [Wireshark-commits] rev 22071: /trunk/ /trunk/doc/: dumpcap.pod /trunk/gtk/: capture_dlg.c capture_if_dlg.c capture_prefs.c

Date Index Thread Index Other Months All Mailing Lists
Date Prev Date Next Thread Prev Thread Next


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.

  • References:
    • Re: [Wireshark-dev] [Wireshark-commits] rev 22071: /trunk/ /trunk/doc/: dumpcap.pod /trunk/gtk/: capture_dlg.c capture_if_dlg.c capture_prefs.c
      • From: Bill Meier
  • Prev by Date: Re: [Wireshark-dev] [Wireshark-commits] rev 22071: /trunk/ /trunk/doc/: dumpcap.pod /trunk/gtk/: capture_dlg.c capture_if_dlg.c capture_prefs.c
  • Next by Date: [Wireshark-dev] Unistim plugin
  • Previous by thread: Re: [Wireshark-dev] [Wireshark-commits] rev 22071: /trunk/ /trunk/doc/: dumpcap.pod /trunk/gtk/: capture_dlg.c capture_if_dlg.c capture_prefs.c
  • Next by thread: [Wireshark-dev] Unistim plugin
  • Index(es):
    • Date
    • Thread

Wireshark and the "fin" logo are registered trademarks of the Wireshark Foundation