summaryrefslogtreecommitdiff
path: root/epan/wslua/wslua_proto.c
diff options
context:
space:
mode:
authorMichael Mann <mmann78@netscape.net>2015-07-11 17:33:26 -0400
committerMichael Mann <mmann78@netscape.net>2015-07-12 03:14:38 +0000
commitbe7d295fbf06788c7fec948cf8755c218ad7c32d (patch)
tree6ae35deb03e777b000683b94b928b774a4cd27b4 /epan/wslua/wslua_proto.c
parent0caf0616ba53282cf4ef5587e13989a7aacc9588 (diff)
downloadwireshark-be7d295fbf06788c7fec948cf8755c218ad7c32d.tar.gz
Add "user presentable" and "unique string ids" to heuristic table entries.
This allows better presentation of heuristic dissectors to the end user. Change-Id: I2ff3985ab914e83c2989880cc0c7b9904045b3f6 Reviewed-on: https://code.wireshark.org/review/9602 Petri-Dish: Michael Mann <mmann78@netscape.net> Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'epan/wslua/wslua_proto.c')
-rw-r--r--epan/wslua/wslua_proto.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/epan/wslua/wslua_proto.c b/epan/wslua/wslua_proto.c
index 67a0d9ee0c..fc9a6ad76c 100644
--- a/epan/wslua/wslua_proto.c
+++ b/epan/wslua/wslua_proto.c
@@ -300,7 +300,8 @@ WSLUA_METHOD Proto_register_heuristic(lua_State* L) {
g_assert(top == lua_gettop(L));
/* now register the single/common heur_dissect_lua function */
- heur_dissector_add(listname, heur_dissect_lua, proto->hfid);
+ /* XXX - ADD PARAMETERS FOR NEW heur_dissector_add PARAMETERS!!! */
+ heur_dissector_add(listname, heur_dissect_lua, proto_name, proto->loname, proto->hfid);
} else {
luaL_argerror(L,3,"The heuristic dissector must be a function");