| 167 |
|
assert(iptr->count > 0); |
| 168 |
|
|
| 169 |
|
if (--iptr->count == 0 && |
| 170 |
< |
(CurrentTime - iptr->last_attempt) >= ConfigFileEntry.throttle_time) |
| 170 |
> |
(CurrentTime - iptr->last_attempt) >= ConfigGeneral.throttle_time) |
| 171 |
|
{ |
| 172 |
|
dlinkDelete(&iptr->node, &ip_hash_table[hash_index]); |
| 173 |
|
mp_pool_release(iptr); |
| 194 |
|
struct ip_entry *iptr = ptr->data; |
| 195 |
|
|
| 196 |
|
if (iptr->count == 0 && |
| 197 |
< |
(CurrentTime - iptr->last_attempt) >= ConfigFileEntry.throttle_time) |
| 197 |
> |
(CurrentTime - iptr->last_attempt) >= ConfigGeneral.throttle_time) |
| 198 |
|
{ |
| 199 |
|
dlinkDelete(&iptr->node, &ip_hash_table[i]); |
| 200 |
|
mp_pool_release(iptr); |