Chained Dissector in Lua
<p>I'm writing a chained dissector in Lua for the Ethercat protocol. I named my chained dissector littlecat.     </p>

<p>For what I have so far, littlecat correctly dissects the fields I want it to. However, instead of executing after the built in ecat dissector, littlecat takes it over completely. </p>

<p>This is what the registration at the end of my Lua code looks like.</p>

<pre><code>-- Initialize Protocol
function littlecat.init()
end

-- Register Chained Dissector Ethercat Port
local ethercat_dissector_table = DissectorTable.get("ecatf.type")
dissector = ethercat_dissector_table:get_dissector(1)

 -- Dissector can be called from littlecat.dissector
 -- So the previous dissector gets called      
 ethercat_dissector_table:add(1, littlecat)
</code></pre>

<p>How can I have my dissector execute after ecat has been executed?</p>