Implements IN_BYTES / OUT_BYTES for historical protocols

This commit is contained in:
Simone Mainardi 2016-05-24 11:57:12 +02:00
parent 9953cc2328
commit e12c703464
2 changed files with 27 additions and 23 deletions

View file

@ -981,6 +981,8 @@ var populateAppTopTalkersTable = function(proto_id){
[
{title: "Host Name", field: "column_label", sortable: true},
{title: "Address", field: "column_addr", hidden: false, sortable: true},
{title: "Traffic Sent", field: "column_bytes_sent", sortable: true,css: {textAlign:'right'}},
{title: "Traffic Received",field: "column_bytes_rcvd", sortable: true,css: {textAlign:'right'}},
{title: "Total Traffic", field: "column_bytes", sortable: true,css: {textAlign:'right'}},
{title: "Packets", field: "column_packets", sortable: true, css: {textAlign:'right'}},
{title: "Flows", field: "column_flows", sortable: true, css: {textAlign:'right'}}
@ -1036,6 +1038,8 @@ var populatePeersPerHostByApplication = function(host, proto_id){
[
{title: "Host Name", field: "column_label", sortable: true},
{title: "Address", field: "column_addr", hidden: false, sortable: true},
{title: "Traffic Sent", field: "column_bytes_sent", sortable: true,css: {textAlign:'right'}},
{title: "Traffic Received",field: "column_bytes_rcvd", sortable: true,css: {textAlign:'right'}},
{title: "Total Traffic", field: "column_bytes", sortable: true,css: {textAlign:'right'}},
{title: "Packets", field: "column_packets", sortable: true, css: {textAlign:'right'}},
{title: "Flows", field: "column_flows", sortable: true, css: {textAlign:'right'}}