forked from osmocom/wireshark
Fix two bugs in the example code that I revised.
svn path=/trunk/; revision=47626
This commit is contained in:
parent
1cb08ae444
commit
1e6e56c631
|
@ -163,8 +163,8 @@ proto_reg_handoff_PROTOABBREV(void)
|
|||
proto_PROTOABBREV);
|
||||
|
||||
/* register as heuristic dissector for both TCP and UDP */
|
||||
heur_dissector_add("tcp", dissect_PROTOABBREV, proto_PROTOABBREV);
|
||||
heur_dissector_add("udp", dissect_PROTOABBREV, proto_PROTOABBREV);
|
||||
heur_dissector_add("tcp", dissect_PROTOABBREV_heur, proto_PROTOABBREV);
|
||||
heur_dissector_add("udp", dissect_PROTOABBREV_heur, proto_PROTOABBREV);
|
||||
|
||||
#ifdef OPTIONAL
|
||||
/* It's possible to write a dissector to be a dual heuristic/normal dissector */
|
||||
|
|
Loading…
Reference in New Issue