Ask Your Question

Revision history [back]

OOPS: dissector table "terel2" doesn't exist

I have tried to add a new dissector named "terel2". Below is the piece of code I have used for the proto_reg_handoff_xxx

void proto_reg_handoff_TEREL2(void) {

g_print("LLY-DEBUG: proto_reg_handoff_TEREL2\n");
dissector_add_uint("terel2", TEREL2_TCP_PORTS, TEREL2_handle);

}

It kept telling me the below error message: OOPS: dissector table "terel2" doesn't exist Protocol being registered is "TEREL2 PROTOCOL"

And it seemed the debug message I have put in the dissector_terel2() never got hit.

Could anyone please help?

OOPS: dissector table "terel2" doesn't exist

I have tried to add a new dissector named "terel2". Below is the piece of code I have used for the proto_reg_handoff_xxx

void
proto_reg_handoff_TEREL2(void)
{

{
 g_print("LLY-DEBUG: proto_reg_handoff_TEREL2\n");
 dissector_add_uint("terel2", TEREL2_TCP_PORTS, TEREL2_handle);
}

}

It kept telling me the below error message: OOPS: dissector table "terel2" doesn't exist Protocol being registered is "TEREL2 PROTOCOL"

And it seemed the debug message I have put in the dissector_terel2() never got hit.

Could anyone please help?