git://git.onelab.eu
/
distributedratelimiting.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
8c906a2
)
New flows now get the last table update time rather than the current time.
author
Kevin Webb
<kcwebb@ucsd.edu>
Tue, 16 Dec 2008 01:50:28 +0000
(
01:50
+0000)
committer
Kevin Webb
<kcwebb@ucsd.edu>
Tue, 16 Dec 2008 01:50:28 +0000
(
01:50
+0000)
drl/standard.c
patch
|
blob
|
history
diff --git
a/drl/standard.c
b/drl/standard.c
index
f035215
..
f8f813c
100644
(file)
--- 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];