forked from github/server
Dauer von Feuerwänden - fixed expired firewalls
This commit is contained in:
parent
73efa3b703
commit
0181fa3c25
1 changed files with 6 additions and 1 deletions
|
@ -259,7 +259,12 @@ age_borders(void)
|
|||
border * b = bhash;
|
||||
for (;b;b=b->next) {
|
||||
if (b->type->age) {
|
||||
b->type->age(b);
|
||||
if (b->type->age(b)==AT_AGE_REMOVE) {
|
||||
border_list * kill = malloc(sizeof(border_list));
|
||||
kill->data = b;
|
||||
kill->next = deleted;
|
||||
deleted = kill;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue