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

How to set a different capture file format as the default one?

0

Hello All,

According to my group's requirements ,we need K12 txt file format for saving a file always. So may i know where i can hardcode this?

This question is marked "community wiki".

asked 30 Oct '11, 21:59

Terrestrial%20shark's gravatar image

Terrestrial ...
96212829
accept rate: 42%


One Answer:

0

goto wireshark\win32\file_dlg_win32.c make necessary modifications to build_file_type_list() or set appropriate filetype number to FILE_SAVE_DEFAULT macro.

This answer is marked "community wiki".

answered 31 Oct '11, 01:25

Terrestrial%20shark's gravatar image

Terrestrial ...
96212829
accept rate: 42%

edited 31 Oct '11, 02:30

See also this question, in particular my answer about adding a preference for the default save format.

(31 Oct '11, 02:45) grahamb ♦

Do you mean to put a question in bug tracker and answer/send patch to it?

(31 Oct '11, 03:23) Terrestrial ...
1

A patch would be great, but the bug tracker entry would be a start.

(31 Oct '11, 04:41) grahamb ♦