mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-24 21:56:15 +00:00
parent
b221ae6a3e
commit
f2e6491c83
4 changed files with 50 additions and 8 deletions
|
|
@ -108,8 +108,11 @@ void AutonomousSystem::lua(lua_State* vm, DetailsLevel details_level, bool asLis
|
|||
lua_push_uint64_table_entry(vm, "num_hosts", getNumHosts());
|
||||
lua_push_uint64_table_entry(vm, "round_trip_time", round_trip_time);
|
||||
|
||||
if(details_level >= details_higher)
|
||||
if(details_level >= details_higher) {
|
||||
if(ndpiStats) ndpiStats->lua(iface, vm);
|
||||
tcp_packet_stats_sent.lua(vm, "tcpPacketStats.sent");
|
||||
tcp_packet_stats_rcvd.lua(vm, "tcpPacketStats.rcvd");
|
||||
}
|
||||
}
|
||||
|
||||
if(asListElement) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue