mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 07:29:32 +00:00
Logstash flow export extension
This commit is contained in:
parent
c546315c15
commit
90743b953a
16 changed files with 386 additions and 16 deletions
|
|
@ -486,7 +486,7 @@ end
|
|||
-- print(_key .. "=" .. _value .. "\n")
|
||||
--end
|
||||
|
||||
function round(num, idp) return tonumber(string.format("%." .. (idp or 0) .. "f", num)) end
|
||||
function round(num, idp) return tonumber(string.format("%." .. (idp or 0) .. "f", num)) end
|
||||
--function round(num) return math.floor(num+.5) end
|
||||
|
||||
-- Note that the function below returns a string as returning a number
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue