mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-07 13:48:33 +00:00
Added initial work towards a new historical interface. In the Interfaces->name->Historical Actitivity it is now possible to see top flows when -F "mysql;...." is used
This commit is contained in:
parent
3b72506ab0
commit
e59d699837
10 changed files with 281 additions and 19 deletions
|
|
@ -110,8 +110,8 @@ bool MySQLDB::dumpV4Flow(time_t when, Flow *f, char *json) {
|
|||
ntop->getPrefs()->get_mysql_tablename(), iface->get_id(),
|
||||
f->get_vlan_id(),
|
||||
f->get_detected_protocol().protocol,
|
||||
f->get_cli_host()->get_ip()->get_ipv4(), f->get_cli_port(),
|
||||
f->get_srv_host()->get_ip()->get_ipv4(), f->get_srv_port(),
|
||||
htonl(f->get_cli_host()->get_ip()->get_ipv4()), f->get_cli_port(),
|
||||
htonl(f->get_srv_host()->get_ip()->get_ipv4()), f->get_srv_port(),
|
||||
f->get_protocol(), (unsigned int)f->get_bytes(), (unsigned int)f->get_packets(),
|
||||
(unsigned int)f->get_first_seen(), (unsigned int)f->get_last_seen(),
|
||||
json ? json : "");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue