mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-02 00:40:10 +00:00
Implements DB interoperability b/w ntopng and nProbe
This commit is contained in:
parent
e0d7ac9ade
commit
a86f3dd36e
10 changed files with 117 additions and 11 deletions
|
|
@ -495,7 +495,8 @@ class NetworkInterface {
|
|||
|
||||
void getFlowsStatus(lua_State *vm);
|
||||
void startDBLoop() { if(db) db->startDBLoop(); };
|
||||
inline bool createDBSchema() {if(db) {return db->createDBSchema();} return false;};
|
||||
inline bool createDBSchema() { if(db) { return db->createDBSchema(); } return false; };
|
||||
inline bool createNprobeDBView() { if(db) { return db->createNprobeDBView(); } return false; };
|
||||
#ifdef NTOPNG_PRO
|
||||
inline void getFlowDevices(lua_State *vm) {
|
||||
if(flow_interfaces_stats) flow_interfaces_stats->luaDeviceList(vm); else lua_newtable(vm);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue