X-Git-Url: http://git.onelab.eu/?p=distributedratelimiting.git;a=blobdiff_plain;f=drl%2Fstandard.c;h=f8f813cf3a20214f466ebae20706dcb8f2251074;hp=f0352153a3750976149fb44fe4423bc9b4b42ac7;hb=74f52acf84cbf11faab8aa53e069464063ce11b9;hpb=8c906a2f229c11beaedfa5968b60133421bd0c6f diff --git a/drl/standard.c b/drl/standard.c index f035215..f8f813c 100644 --- a/drl/standard.c +++ b/drl/standard.c @@ -86,7 +86,7 @@ standard_flow *standard_table_lookup(standard_flow_table table, const key_flow * flow->source_port = key->source_port; flow->dest_port = key->dest_port; flow->last_packet = key->packet_time; - gettimeofday(&flow->last_update, NULL); + flow->last_update = table->common->last_update; /* Add the flow to the hash list. */ flow->nexth = table->flows[hash];