Wireshark-dev: Re: [Wireshark-dev] writing non-Ethernet pcapng files

From: Aaron Turner <synfinatic@xxxxxxxxx>
Date: Thu, 21 May 2009 12:34:47 -0700
On Thu, May 21, 2009 at 12:20 PM, Michael Tüxen
<Michael.Tuexen@xxxxxxxxxxxxxxxxx> wrote:
> On May 21, 2009, at 9:15 PM, Aaron Turner wrote:
>
>> On Thu, May 21, 2009 at 11:55 AM, Michael Tüxen
>> <Michael.Tuexen@xxxxxxxxxxxxxxxxx> wrote:
>>> Hi Aaron,
>>>
>>> can you check also with the latest svn version?
>>
>> This was trunk-1.0 r28436.  Are you working in trunk (wireshark
>> 1.1.x)?
> Yes, I'm working in 1.1.x...


I just looked at the lastest trunk, and it too hard codes only
ethernet as supported:

from wiretap/pcapng.c pcapng_dump_can_write_encap():

	/* XXX - for now we only support Ethernet */
	if (encap != WTAP_ENCAP_ETHERNET)
		return WTAP_ERR_UNSUPPORTED_ENCAP;

-- 
Aaron Turner
http://synfin.net/
http://tcpreplay.synfin.net/ - Pcap editing and replay tools for Unix & Windows
Those who would give up essential Liberty, to purchase a little temporary
Safety, deserve neither Liberty nor Safety.
    -- Benjamin Franklin