1 | initial version |
Where is this being called from?
if buffer(0,1):uint() == 0x1 then dofile([[path_to_lua_dissector_file]])
Because I think that is likely the source of your problem. Your "mqtt_new" dissector is already registered but here you seem to be explicitly loading it again. Don't do that.