mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-02 00:40:10 +00:00
This commit is contained in:
parent
359f9035b7
commit
e3fb29de79
3 changed files with 50 additions and 5 deletions
|
|
@ -219,7 +219,7 @@ local function format_result(result)
|
|||
end
|
||||
|
||||
if (rsp[#rsp].cve ~= nil) then
|
||||
table.sort(rsp[#rsp].cve, function (k1, k2) return split(k1,"|")[2] < split(k2,"|")[2] end)
|
||||
table.sort(rsp[#rsp].cve, function (k1, k2) return tonumber(split(k1,"|")[2]) > tonumber(split(k2,"|")[2]) end)
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue