Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

how to register a new LUA based dissector only to udp src port

Hello,

I'd like to register my new dissector only to a udp src port

Therefore using following code

udp_table = DissectorTable.get("udp.port")
udp_table:add(7777,trivial_proto)

is not a good idea. I'd be glad to have an example how to do it to a specific udp source port (or destination port).

Thank you all