This is our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.

I am trying to merge two capture files i downloaded from the sample captures from wireshark site. zigbee-join-authenticate.pcap Teredo.pcap

Every time i select a file to merge with currently opened cature file i get the following dialogue box

"Wireshark can't save this capture in that format."

Could some one tell me what the issue is?

asked 19 Jan '12, 07:36

v%20j's gravatar image

v j
11447
accept rate: 0%

What version of Wireshark (or mergecap) are you using?

(19 Jan '12, 17:55) cmaynard ♦♦

I am using Wireshark version 1.6.5 on windows, but I got the same issue with 1.7.0 also

(19 Jan '12, 19:21) v j

The issue is that:

  1. those two capture files have different link-layer header types;
  2. they are both pcap files, so the default file type for the merged file is pcap;
  3. pcap files do not support multiple link-layer header types in a single file.

Try selecting pcap-ng format instead; that supports multiple link-layer header types in a single file.

permanent link

answered 20 Jan '12, 02:16

Guy%20Harris's gravatar image

Guy Harris ♦♦
17.4k335196
accept rate: 19%

Thanks for the tip. It worked. But i had an issue with pcapng format.

I did 2 fresh captures myself and saved them in pcap format and the merged them into one, it succeeded.

But when i save the captures in pcapng format and merge them i get the same old error.

(20 Jan '12, 06:19) v j

bounce ...

(29 Jan '12, 16:21) v j
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×21
×2

question asked: 19 Jan '12, 07:36

question was seen: 6,189 times

last updated: 29 Jan '12, 16:21

p​o​w​e​r​e​d by O​S​Q​A