mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-30 03:32:16 +00:00
Reworks hash entries idling
This commit is contained in:
parent
1bf89fdb4d
commit
da1dbe4ab0
22 changed files with 98 additions and 62 deletions
|
|
@ -74,11 +74,9 @@ void AutonomousSystem::updateRoundTripTime(u_int32_t rtt_msecs) {
|
|||
|
||||
/* *************************************** */
|
||||
|
||||
bool AutonomousSystem::idle() {
|
||||
bool AutonomousSystem::is_hash_entry_state_idle_transition_ready() {
|
||||
bool rc;
|
||||
|
||||
if(GenericHashEntry::idle()) return(true);
|
||||
|
||||
if((num_uses > 0) || (!iface->is_purge_idle_interface()))
|
||||
return(false);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue