mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-10 00:42:14 +00:00
Added tracings
Added details parameter to NetworkInterface::lua() and subclasses
This commit is contained in:
parent
77239315a9
commit
3aadd4e8be
154 changed files with 522 additions and 162 deletions
|
|
@ -30,6 +30,7 @@ PeriodicScript::PeriodicScript(const char* _path,
|
|||
bool _exclude_viewed_interfaces,
|
||||
bool _exclude_pcap_dump_interfaces,
|
||||
ThreadPool* _pool) {
|
||||
if(trace_new_delete) ntop->getTrace()->traceEvent(TRACE_NORMAL, "[new] %s", __FILE__);
|
||||
path = strdup(_path);
|
||||
periodicity = _periodicity_seconds;
|
||||
max_duration_secs = _max_duration_seconds;
|
||||
|
|
@ -42,5 +43,6 @@ PeriodicScript::PeriodicScript(const char* _path,
|
|||
/* ******************************************* */
|
||||
|
||||
PeriodicScript::~PeriodicScript() {
|
||||
if(trace_new_delete) ntop->getTrace()->traceEvent(TRACE_NORMAL, "[delete] %s", __FILE__);
|
||||
if (path) free((char*)path);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue