zapret-lib: include func instance in desync_timer_name

This commit is contained in:
bol-van committed 2026-07-30 17:24:29 +03:00
1 parent a8399a59fe
commit d55fe738eb
2 files changed
+4 -3

No files matched your search

+2 -2
View File
@@ -550,7 +550,7 @@ function blob(desync, name, def)
-- use global var if no field in dissect table
blob = _G[name]
if not blob then
error("blob '"..name.."' unavailable")
error("blob '"..name.."' unavailable")
end
end
blob = tostring(blob)
@@ -808,7 +808,7 @@ function dis_timer_name(dis)
return table.concat({ntop(dis_ipsrc(dis)),"->",ntop(dis_ipdst(dis)),"_",dis_l4_name(dis),"_",dis_l4_ports(dis)})
end
function desync_timer_name(desync)
local name = dis_timer_name(desync.dis)
local name = desync.func_instance.."_"..dis_timer_name(desync.dis)
if desync.track then
name = name.."_n"..desync.track.pos.direct.pcounter
else