mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-03 09:20:10 +00:00
parent
76884f1eb0
commit
5c0c23feb6
11 changed files with 28 additions and 51 deletions
|
|
@ -62,10 +62,6 @@ local script = {
|
|||
|
||||
----------------------------------------------------------------------
|
||||
|
||||
-- The frequency for the periodicUpdate hook invocation. Must be
|
||||
-- multiple of 30 seconds.
|
||||
periodic_update_seconds = 30,
|
||||
|
||||
-- If true, the script will be executed on TCP flows only after the three
|
||||
-- way handshake is completed
|
||||
three_way_handshake_ok = false,
|
||||
|
|
@ -163,8 +159,7 @@ end
|
|||
|
||||
-- #################################################################
|
||||
|
||||
-- An hook executed periodically. The update frequency is specified via the
|
||||
-- periodic_update_seconds parameter.
|
||||
-- An hook executed periodically
|
||||
function script.hooks.periodicUpdate(now, config)
|
||||
print("flow:periodicUpdate hook called: " .. shortFlowLabel(flow.getInfo()))
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue