mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-28 23:19:33 +00:00
Improve iec_invalid_transition format function (#6682)
This commit is contained in:
parent
db0fc0a871
commit
df2829d409
2 changed files with 6 additions and 3 deletions
|
|
@ -4988,8 +4988,8 @@ local iec104_typeids = {
|
|||
function iec104_typeids2str(c)
|
||||
if(c == nil) then return end
|
||||
|
||||
for s,v in pairs(iec104_typeids) do
|
||||
if(v == c) then
|
||||
for s, v in pairs(iec104_typeids) do
|
||||
if(v == tonumber(c)) then
|
||||
return(s.." (".. v ..")")
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue