pocess pcap files given by redis

master
Gerard Wagener 2019-02-11 16:29:09 +01:00
parent 1d4307f8c8
commit 21047bf2ee
1 changed files with 2 additions and 0 deletions

View File

@ -422,6 +422,8 @@ void process_redis_list(pibs_t* pibs)
rtype = reply->type; rtype = reply->type;
if (rtype == REDIS_REPLY_STRING ) { if (rtype == REDIS_REPLY_STRING ) {
printf("#Need to proces file %s\n", reply->str); printf("#Need to proces file %s\n", reply->str);
strncpy(pibs->filename, reply->str, FILENAME_MAX);
process_file(pibs);
} }
freeReplyObject(reply); freeReplyObject(reply);
} }