aboutsummaryrefslogtreecommitdiffstats
path: root/randpkt_core/randpkt_core.c
diff options
context:
space:
mode:
Diffstat (limited to 'randpkt_core/randpkt_core.c')
-rw-r--r--randpkt_core/randpkt_core.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/randpkt_core/randpkt_core.c b/randpkt_core/randpkt_core.c
index 7b1822b76f..69d1c822df 100644
--- a/randpkt_core/randpkt_core.c
+++ b/randpkt_core/randpkt_core.c
@@ -667,13 +667,11 @@ int randpkt_example_init(randpkt_example* example, char* produce_filename, int p
if (strcmp(produce_filename, "-") == 0) {
/* Write to the standard output. */
example->dump = wtap_dump_open_stdout(WTAP_FILE_TYPE_SUBTYPE_PCAP,
- FALSE /* compressed */,
- &params, &err);
+ WTAP_UNCOMPRESSED, &params, &err);
example->filename = "the standard output";
} else {
example->dump = wtap_dump_open(produce_filename, WTAP_FILE_TYPE_SUBTYPE_PCAP,
- FALSE /* compressed */,
- &params, &err);
+ WTAP_UNCOMPRESSED, &params, &err);
example->filename = produce_filename;
}
if (!example->dump) {