added compression support for capture file output. The Save/As dialog now has a check...
[obnox/wireshark/wip.git] / editcap.c
index 09269507e53b086716232ed749f23059285450a7..50592854a456840c3701bd658113f87218ca9220 100644 (file)
--- a/editcap.c
+++ b/editcap.c
@@ -373,7 +373,7 @@ int main(int argc, char *argv[])
       out_frame_type = wtap_file_encap(wth);
 
     pdh = wtap_dump_open(argv[optind + 1], out_file_type,
-                        out_frame_type, wtap_snapshot_length(wth), &err);
+                        out_frame_type, wtap_snapshot_length(wth), FALSE /* compressed */, &err);
     if (pdh == NULL) {
 
       fprintf(stderr, "editcap: Can't open or create %s: %s\n", argv[optind+1],