Commit b414a1ae authored by Olav Kvittem's avatar Olav Kvittem

missing clearing time every packet

parent 449cdb87
......@@ -1022,6 +1022,8 @@ static int rec_to_file(unsigned short port, unsigned long limit)
}
else
{
time1=(struct timeval){0}; // new packet - blank
if ( opt_pcap || opt_af_packet){ // raw packets unwrap
if ( opt_pcap) { // ether header
rude_data= (struct udp_data*) (packet + 14) ; // compile error : sizeof(struct ether_header);
......
......@@ -35,7 +35,7 @@
#define PMAXSIZE 32768 /* Maximum accepted UDP-data field/packet size */
#define MINDURAT 0.001 /* Minimum allowed flow duration in seconds (float) */
#define VERSION "0.9.0"
#define VERSION "0.9.1"
/*
* Enumeration definition for different (known) flow types
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment