From 1e6e56c6311ada0ebd29ea72fe7d8788df14a7bc Mon Sep 17 00:00:00 2001 From: Bill Meier Date: Mon, 11 Feb 2013 01:31:49 +0000 Subject: [PATCH] Fix two bugs in the example code that I revised. svn path=/trunk/; revision=47626 --- doc/README.heuristic | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/README.heuristic b/doc/README.heuristic index e554d505f9..317d9b65aa 100644 --- a/doc/README.heuristic +++ b/doc/README.heuristic @@ -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 */