feature: packet I/O suppport dumpfile list mode

This commit is contained in:
luwenpeng
2024-08-19 18:40:49 +08:00
parent 520eb085b8
commit 29cbe532ef
8 changed files with 72 additions and 98 deletions

View File

@@ -26,7 +26,7 @@ struct packet_io *packet_io_new(struct packet_io_options *opts)
}
else
{
packet_io->dumpfile = dumpfile_io_new(opts->dumpfile_dir, opts->nr_threads);
packet_io->dumpfile = dumpfile_io_new(opts->dumpfile_path, packet_io->mode, opts->nr_threads);
}
if (packet_io->marsio == NULL && packet_io->dumpfile == NULL)
{