mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-02 17:00:10 +00:00
Fix numbers returned as strings causing broken sort
This commit is contained in:
parent
01214d47db
commit
edd119ce61
1 changed files with 2 additions and 2 deletions
|
|
@ -58,8 +58,8 @@ function am_utils.getLastRttUpdate(host, measurement)
|
|||
|
||||
if(parts and (#parts == 3)) then
|
||||
return {
|
||||
when = parts[1],
|
||||
value = parts[2],
|
||||
when = tonumber(parts[1]),
|
||||
value = tonumber(parts[2]),
|
||||
ip = parts[3],
|
||||
}
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue