I might be overlooking something extremely simple... but I'm having some trouble setting the next dissector when passing a variable representing a string to the set_next_dissector() function, rather than a string itself. For instance:
self.set_next_dissector('protocol') works, while
self.set_next_dissector(protocol_name) does not, even if protocol_name == 'protocol' .
I might be overlooking something extremely simple... but I'm having some trouble setting the next dissector when passing a variable representing a string to the set_next_dissector() function, rather than a string itself. For instance:
self.set_next_dissector('protocol') works, while
self.set_next_dissector(protocol_name) does not, even if protocol_name == 'protocol' .