|
No Wireshark expert, but your code looks to be procedural (top to bottom). So the only thing imo that would cause it to log 3 times, would be that Wireshark calls this code 3 times. So this doesn’t look like a Lua problem to me.
But to figure out why that is, you probably have to check Wireshark docs/community.
HthThijs