mirror of
https://github.com/ntop/ntopng.git
synced 2026-06-01 22:42:06 +00:00
Implements nDPI stats counters for views
This commit is contained in:
parent
6e8d0caca7
commit
3cd6a92efd
7 changed files with 31 additions and 34 deletions
|
|
@ -5394,6 +5394,7 @@ void NetworkInterface::lua(lua_State *vm) {
|
|||
lua_push_int32_table_entry(vm, "id", id);
|
||||
if(customIftype) lua_push_str_table_entry(vm, "customIftype", (char*)customIftype);
|
||||
lua_push_bool_table_entry(vm, "isView", isView()); /* View interface */
|
||||
lua_push_bool_table_entry(vm, "isViewed", isViewed()); /* Viewed interface */
|
||||
lua_push_bool_table_entry(vm, "isDynamic", isDynamicInterface()); /* An runtime-instantiated interface */
|
||||
lua_push_uint64_table_entry(vm, "seen.last", getTimeLastPktRcvd());
|
||||
lua_push_bool_table_entry(vm, "inline", get_inline_interface());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue