I get this error when i run wireshark.I have built a heuristic dissector 17:29:46 Err file packet.c: line 1542 (heur_dissector_add): assertion failed: (sub_dissectors != NULL) Aborted asked 17 Mar '11, 05:01 niks3089 |
One Answer:
The "name" field (the 1st parameter) in your heur_dissector_add() call is not valid. Or I suppose it may be valid but you're calling heur_dissector_add() before the other protocol has been registered (are you calling heur_dissector_add() in your reg_handoff routine?). answered 17 Mar '11, 06:47 JeffMorriss ♦ |
void proto_reg_handoff_arr(void)
{
dissector_add_handle(“tcp”, arr_handle);
}
this is the code