mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-12 12:41:16 +00:00
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:
parent
7b708274e5
commit
df38dee87d
19 changed files with 331 additions and 179 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue