View previous topic :: View next topic |
Author |
Message |
mstombs
Joined: 16 Dec 2007 Posts: 23
|
Posted: Sun Aug 17, 2008 8:31 pm Post subject: Rule cleaning |
|
|
The configurable rule cleaning removes unused rules, but what if a rule is used for a bit then the client disappears without removing the rule. Is there a way to check for rules that are no longer in use and purge them - or maybe that is what the function does already - if so I don't see where the usage counters are reset? |
|
Back to top |
|
|
miniupnp Site Admin
Joined: 14 Apr 2007 Posts: 1589
|
Posted: Tue Aug 19, 2008 5:42 pm Post subject: Re: Rule cleaning |
|
|
mstombs wrote: | The configurable rule cleaning removes unused rules, but what if a rule is used for a bit then the client disappears without removing the rule. Is there a way to check for rules that are no longer in use and purge them - or maybe that is what the function does already - if so I don't see where the usage counters are reset? |
The rule cleaner remove unused rules by comparing the counters with the counters stored some time before. So the counters dont need to be reset. _________________ Main miniUPnP author.
https://miniupnp.tuxfamily.org/ |
|
Back to top |
|
|
|