Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-dev: Re: [Wireshark-dev] Merging capture files of different link layer type

From: Jose Pedro Oliveira <jpo@xxxxxxxxxxxx>
Date: Mon, 30 Jan 2012 00:52:26 +0000
On 2012-01-30 00:20, vijay wrote:
> Hi,
> 
> My problem is to merge two files of different link layer types.
> 
> I tried merging 2 pcap files of same link type into a pcap file and
> it succeeded.
> But when i try to merge 2 pcapng files of same link type into a pcapng
> file i got the error "*Wireshark can't save this capture in that format.*"
> 
> Could some one please tell why the above error occurs? Also does
> mergecap has support for pcapng file format ?

You need to manually specify an encapsulation type. See:
http://wiki.wireshark.org/Development/PcapNg#Merging_pcapng_files

jpo
-- 
Jos� Pedro Oliveira
* mailto:jpo@xxxxxxxxxxxx *