On Aug 13, 2011, at 9:57 AM, tuexen@xxxxxxxxxxxxx wrote:
> http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=38507
>
> User: tuexen
> Date: 2011/08/13 09:57 AM
>
> Log:
> Fix Windows builds (hopefully).
>
> Directory: /trunk/gtk/
> Changes Path Action
> +2 -2 capture_dlg.c Modified
That change is the right thing to do - if you don't have pcap_create(), you also don't have the APIs to query whether a device could support monitor mode or request that a device go into monitor mode (as those APIs depend on the pcap_create()/pcap_activate() split, and were introduced after pcap_create() and pcap_activate() were introduced).