Removed old legacy code

Added various fixes to networks view including the ability to visualize per-network graphs
Local hosts dumps (before purging) are now handled properly again.
This commit is contained in:
Luca Deri 2015-08-08 15:30:04 +02:00
parent 7b708274e5
commit df38dee87d
19 changed files with 331 additions and 179 deletions

View file

@ -55,6 +55,9 @@ ParserInterface::ParserInterface(const char *endpoint) : NetworkInterface(endpoi
u_int key_id;
json_object *additional_o = json_tokener_parse(value);
if(additional_o == NULL)
ntop->getTrace()->traceEvent(TRACE_WARNING, "JSON Parse error: %s", value);
/* FIX: the key can either be numeric of a string */
key_id = atoi(key);