Hello, Regarding the way ntop updates/adds/deletes hosts, I was wondering whether this approach has been tried :
when updating a host also move it to the top of the list, as if it was being added and thus make sure the oldest hosts are always at the bottom of the list. Whenever purgeIdleHosts() is called, it can go through the list looking for the first host that does not need to be deleted and then do a while loop and delete all the previous hosts, possibile without needing theFlaggedHosts[]. Let me know what you think of this. Thanks, Stefan. ------------------------ Stefan Iaru http://www.iaru.net _______________________________________________ Ntop mailing list [email protected] http://listgateway.unipi.it/mailman/listinfo/ntop
