git://git.onelab.eu
/
distributedratelimiting.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Lots of changes. In no particular order:
[distributedratelimiting.git]
/
drl
/
standard.c
diff --git
a/drl/standard.c
b/drl/standard.c
index
f8f813c
..
9c996e3
100644
(file)
--- a/
drl/standard.c
+++ b/
drl/standard.c
@@
-221,7
+221,7
@@
int standard_table_cleanup(standard_flow_table table) {
time_t now = time(NULL);
while (current != NULL) {
time_t now = time(NULL);
while (current != NULL) {
- if (current->last_packet + FLOW_IDLE_TIME <= now) {
+ if (current->last_packet +
STD_
FLOW_IDLE_TIME <= now) {
/* Flow hasn't received a packet in the time limit - kill it. */
remove = current;
current = current->next;
/* Flow hasn't received a packet in the time limit - kill it. */
remove = current;
current = current->next;