mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-30 03:32:16 +00:00
Additionsl inc/dec uses fixes
This commit is contained in:
parent
c29409673b
commit
02464a9536
12 changed files with 37 additions and 51 deletions
|
|
@ -40,16 +40,10 @@ AutonomousSystem::AutonomousSystem(NetworkInterface *_iface, IpAddress *ipa) : G
|
|||
|
||||
/* *************************************** */
|
||||
|
||||
void AutonomousSystem::set_hash_entry_state_idle() {
|
||||
AutonomousSystem::~AutonomousSystem() {
|
||||
if(ntop->getPrefs()->is_idle_local_host_cache_enabled())
|
||||
serializeToRedis();
|
||||
|
||||
GenericHashEntry::set_hash_entry_state_idle();
|
||||
}
|
||||
|
||||
/* *************************************** */
|
||||
|
||||
AutonomousSystem::~AutonomousSystem() {
|
||||
if(asname) free(asname);
|
||||
/* TODO: decide if it is useful to dump AS stats to redis */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue