bugfix: export tcp_segment_get_data() symbol

This commit is contained in:
luwenpeng
2024-08-21 15:54:35 +08:00
parent aed2daa1a4
commit 114fc434b3
6 changed files with 10 additions and 13 deletions

View File

@@ -221,7 +221,7 @@ static void *dumpfile_thread(void *arg)
FILE *fp = NULL;
if (strcmp(handle->dumpfile_path, "-") == 0)
{
PACKET_IO_LOG_ERROR("dumpfile list is empty");
PACKET_IO_LOG_ERROR("dumpfile list is empty, read from stdin");
fp = stdin;
}
else
@@ -255,10 +255,9 @@ static void *dumpfile_thread(void *arg)
fclose(fp);
}
}
PACKET_IO_LOG_FATAL("dumpfile io thread read all pcap files");
erro_out:
PACKET_IO_LOG_FATAL("dumpfile io thread processed all pcap files");
while (ATOMIC_READ(&handle->io_thread_need_exit) == 0)
{
if (all_packet_processed(handle))