Cleanup old partial host groups code

Fixes #1599
This commit is contained in:
Simone Mainardi 2021-01-21 11:27:17 +01:00
parent 43fa8cf6e9
commit 8a62783e2d
10 changed files with 0 additions and 223 deletions

View file

@ -60,29 +60,3 @@ OperatingSystem* OperatingSystemHash::get(OSType os_type, bool is_inline_call) {
return(head);
}
}
/* ************************************ */
#ifdef AS_DEBUG
static bool print_oses(GenericHashEntry *_as, void *user_data) {
OperatingSystem *as = (OperatingSystem*)_as;
ntop->getTrace()->traceEvent(TRACE_NORMAL, "Operating System [os: %u] [num_uses: %u]",
as->get_os(),
os->getNumHosts());
return(false); /* false = keep on walking */
}
/* ************************************ */
void OperatingSystemHash::printHash() {
disablePurge();
walk(print_oses, NULL);
enablePurge();
}
#endif