Wireshark-dev: Re: [Wireshark-dev] [Wireshark-commits] rev 38350: /trunk/ /trunk/gtk/: capture_

From: Guy Harris <guy@xxxxxxxxxxxx>
Date: Fri, 5 Aug 2011 14:15:16 -0700
On Aug 5, 2011, at 2:09 PM, Michael Tuexen wrote:

> On Aug 5, 2011, at 11:36 AM, Stig Bjørlykke wrote:
> 
>> And some more comments:
>> 
>> * "Capture packets in monitor mode" is enabled for devices not supporting this.
> If there is a way to figure out if it is supported,

There is, and the code used to use it to determine whether to activate the "Capture packets in monitor mode" checkbox.  ("man pcap_can_set_rfmon", if your UN*X has libpcap 1.0.0 or later.  You need to do pcap_create() first.  And, yes, I added that because I knew Wireshark would need to use it.)