aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorJeff Morriss <jeff.morriss.ws@gmail.com>2015-09-08 11:38:00 -0400
committerAlexis La Goutte <alexis.lagoutte@gmail.com>2015-09-08 15:50:44 +0000
commitd57bfceca3dc5b0c6c5751e8ef6d173abae7daf0 (patch)
tree95beb2a44d9b6683c4d9c9227fbe3ab97c22f4d6 /doc
parentbc4bc72bd38ad9667bb27baf91eb64c654da6787 (diff)
Update documentation to reflect new heur_dissector_add() arguments.
Change-Id: I791071644f591bd8f526a077ecdeb7e68d2fea6e Reviewed-on: https://code.wireshark.org/review/10445 Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/README.heuristic8
1 files changed, 5 insertions, 3 deletions
diff --git a/doc/README.heuristic b/doc/README.heuristic
index 9a1a712b27..2c4c8db56d 100644
--- a/doc/README.heuristic
+++ b/doc/README.heuristic
@@ -218,11 +218,13 @@ proto_reg_handoff_PROTOABBREV(void)
PROTOABBREV_tcp_handle = new_create_dissector_handle(dissect_PROTOABBREV_tcp,
proto_PROTOABBREV);
PROTOABBREV_pdu_handle = new_create_dissector_handle(dissect_PROTOABBREV_pdu,
- proto_PROTOABBREV);
+ proto_PROTOABBREV);
/* register as heuristic dissector for both TCP and UDP */
- heur_dissector_add("tcp", dissect_PROTOABBREV_tcp_heur, proto_PROTOABBREV);
- heur_dissector_add("udp", dissect_PROTOABBREV_udp_heur, proto_PROTOABBREV);
+ heur_dissector_add("tcp", dissect_PROTOABBREV_tcp_heur, "PROTOABBREV over TCP",
+ "PROTOABBREV_tcp", proto_PROTOABBREV, HEURISTIC_ENABLE);
+ heur_dissector_add("udp", dissect_PROTOABBREV_udp_heur, "PROTOABBREV over UDP",
+ "PROTOABBREV_udp", proto_PROTOABBREV, HEURISTIC_ENABLE);
#ifdef OPTIONAL
/* It's possible to write a dissector to be a dual heuristic/normal dissector */