aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorBill Meier <wmeier@newsguy.com>2013-02-11 01:31:49 +0000
committerBill Meier <wmeier@newsguy.com>2013-02-11 01:31:49 +0000
commit1e6e56c6311ada0ebd29ea72fe7d8788df14a7bc (patch)
treed46e33e524761e7c2c741e80ca34a7ba6b2e50c6 /doc
parent1cb08ae44417c15449def01dc15343a11fb0ad04 (diff)
Fix two bugs in the example code that I revised.
svn path=/trunk/; revision=47626
Diffstat (limited to 'doc')
-rw-r--r--doc/README.heuristic4
1 files 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 */