mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 15:39:33 +00:00
Fix alerts from VS
This commit is contained in:
parent
25043a771b
commit
b7fa7967ba
2 changed files with 15 additions and 5 deletions
|
|
@ -251,7 +251,9 @@ local function key2amhost(host)
|
|||
local measurement, amhost = string.match(host, "^([^@]+)@(.+)")
|
||||
|
||||
if measurement and amhost then
|
||||
return amhost, measurement
|
||||
return amhost, measurement
|
||||
else
|
||||
return nil, nil
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue