mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-16 19:43:47 +00:00
Sets all hash entries to idle during shutdown
This commit is contained in:
parent
d0886b1f9e
commit
ac2ce0c058
5 changed files with 28 additions and 37 deletions
|
|
@ -69,11 +69,7 @@ void GenericHashEntry::set_state(HashEntryState s) {
|
|||
/* ***************************************** */
|
||||
|
||||
HashEntryState GenericHashEntry::get_state() {
|
||||
/* When the interface is no longer running it is safe to assume the entry is idle */
|
||||
if(iface && (!iface->isRunning()))
|
||||
set_hash_entry_state_idle();
|
||||
|
||||
return(hash_entry_state);
|
||||
return hash_entry_state;
|
||||
};
|
||||
|
||||
/* ***************************************** */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue