pocess pcap files given by redis
parent
1d4307f8c8
commit
21047bf2ee
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue