Author: deri Date: 2011-11-14 15:34:42 +0100 (Mon, 14 Nov 2011) New Revision: 4993
Modified: trunk/ntop/Makefile.am trunk/ntop/graph.c trunk/ntop/hash.c trunk/ntop/map.c trunk/ntop/plugin.c trunk/ntop/report.c trunk/ntop/reportUtils.c Log: Minor gui FIX. Patch courtesy of Brian Behrens <[email protected]> graph.c: 1. Increased buffer size, most likely due to buffer errors. Do not really remember why I increased it. hash.c: 1. Added check for sticky hosts around code in is_host_ready_to_purge. In the past when I had sticky hosts enabled, hosts still were being purged, this ensures they never are. NOTE: This does eat memory, so a ton of memory should be dedicated for high load environments. 2. Added a check for numHostSessions, this ensures no hosts are purged before all sessions are purged. This was the last fix that corrected the segfaults which were always invalid pointers (pointers that had been freed already). 3. Cleaned up some issues with the parenthesis. 4. Commented out remove_valid_ptr, as this code technically does not really do anything? Makefile.am: 1. Added back in dnetter stuff. map.c: 1. Increased MAX_NUM_MAP_HOSTS for heaver network load. 2. I hope you can use this, I modified the map to support the V3 google maps api. All changes after MAX_NUM_MAP_HOSTS implement this. report.c: 1. Added htmlTitle for printing a different title, but no longer used. 2. Added totalHosts, which inserts a line telling about filtered host counts as well as total hosts seen on interface. _______________________________________________ Ntop-dev mailing list [email protected] http://listgateway.unipi.it/mailman/listinfo/ntop-dev
